This is an automated email from the ASF dual-hosted git repository.

erisu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-electron.git


The following commit(s) were added to refs/heads/master by this push:
     new 3c3425a  refactor: transform var to let/const (#120)
3c3425a is described below

commit 3c3425abefc5d38ab9fb8d039ea233cd49ca7d62
Author: エリス <[email protected]>
AuthorDate: Thu Dec 19 19:57:03 2019 +0900

    refactor: transform var to let/const (#120)
---
 bin/templates/cordova/Api.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 @@ class Api {
                     .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;
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to