commit | 3c3425abefc5d38ab9fb8d039ea233cd49ca7d62 | [log] [tgz] |
---|---|---|
author | エリス <erisu@users.noreply.github.com> | Thu Dec 19 19:57:03 2019 +0900 |
committer | GitHub <noreply@github.com> | Thu Dec 19 19:57:03 2019 +0900 |
tree | 9e1d73527f9dec02480864b97d8983a96296f677 | |
parent | 61f4d0f64607be5edebbc3b084cb0da516b8b489 [diff] |
refactor: transform var to let/const (#120)
diff --git a/bin/templates/cordova/Api.js b/bin/templates/cordova/Api.js index e2b5eb2..6c83e97 100644 --- a/bin/templates/cordova/Api.js +++ b/bin/templates/cordova/Api.js
@@ -174,7 +174,7 @@ .remove_plugin_changes(plugin, /* is_top_level= */true) .save_all(); - var targetDir = uninstallOptions.usePlatformWww + const targetDir = uninstallOptions.usePlatformWww ? this.getPlatformInfo().locations.platformWww : this.getPlatformInfo().locations.www;