mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-01 02:12:58 +08:00
CB-11244: Fixing eslint errors
This commit is contained in:
parent
f3c238db1c
commit
8743e88550
4
bin/templates/cordova/lib/pluginHandlers.js
vendored
4
bin/templates/cordova/lib/pluginHandlers.js
vendored
@ -70,14 +70,14 @@ var handlers = {
|
||||
install: function (obj, plugin, project, options) {
|
||||
var dest = path.normalize(obj.target);
|
||||
if (options && options.android_studio === true) {
|
||||
dest = path.join('app/src/main', dest);
|
||||
dest = path.join('app/src/main', dest);
|
||||
}
|
||||
copyFile(plugin.dir, obj.src, project.projectDir, dest, !!(options && options.link));
|
||||
},
|
||||
uninstall: function (obj, plugin, project, options) {
|
||||
var dest = path.normalize(obj.target);
|
||||
if (options && options.android_studio === true) {
|
||||
dest = path.join('app/src/main', dest);
|
||||
dest = path.join('app/src/main', dest);
|
||||
}
|
||||
removeFile(project.projectDir, dest);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user