You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by pu...@apache.org on 2017/05/25 20:38:37 UTC

[17/25] cordova-browser git commit: clean up linter errors

clean up linter errors


Project: http://git-wip-us.apache.org/repos/asf/cordova-browser/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-browser/commit/4345045a
Tree: http://git-wip-us.apache.org/repos/asf/cordova-browser/tree/4345045a
Diff: http://git-wip-us.apache.org/repos/asf/cordova-browser/diff/4345045a

Branch: refs/heads/master
Commit: 4345045a0dfcfde9495e874d195cc5df4cb8c5c8
Parents: d7cdec3
Author: Jesse MacFadyen <pu...@gmail.com>
Authored: Thu May 4 17:22:56 2017 -0700
Committer: Jesse MacFadyen <pu...@gmail.com>
Committed: Thu May 4 17:22:56 2017 -0700

----------------------------------------------------------------------
 bin/template/cordova/Api.js | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-browser/blob/4345045a/bin/template/cordova/Api.js
----------------------------------------------------------------------
diff --git a/bin/template/cordova/Api.js b/bin/template/cordova/Api.js
index ac1060e..eb2d593 100644
--- a/bin/template/cordova/Api.js
+++ b/bin/template/cordova/Api.js
@@ -268,8 +268,6 @@ Api.prototype.removePlugin = function (plugin, uninstallOptions) {
         // TODO: this should be done by plugin files uninstaller
         shell.rm('-rf', path.resolve(self.root, 'Plugins', plugin.id));
     });
-
-    return Promise.resolve();
 };
 
 Api.prototype._getInstaller = function(type) {
@@ -278,7 +276,7 @@ Api.prototype._getInstaller = function(type) {
         var installer = self._handler[type];
 
         if(!installer) {
-            console.log("unrecognized type " + type)
+            console.log("unrecognized type " + type);
             return;
         }
         else {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org