mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-05-02 00:07:23 +08:00
fix(plugin): return originalMethod return value
This commit is contained in:
Vendored
+1
-1
@@ -181,7 +181,7 @@ function RequiresPlugin(target, key, descriptor) {
|
||||
exports.pluginWarn(this.name, null, this.name);
|
||||
return;
|
||||
}
|
||||
originalMethod.apply(this, args);
|
||||
return originalMethod.apply(this, args);
|
||||
};
|
||||
return descriptor;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user