You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by sg...@apache.org on 2015/05/27 15:27:23 UTC

[3/4] spec commit: CB-9052 Fixed failure when createmobilespec couldn't locate plugin tests

CB-9052 Fixed failure when createmobilespec couldn't locate plugin tests

github close #129


Project: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/commit/dac49802
Tree: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/tree/dac49802
Diff: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/diff/dac49802

Branch: refs/heads/master
Commit: dac49802c9c6358e7937373ed6b929fb472dce8a
Parents: aea9676
Author: alsorokin <al...@akvelon.com>
Authored: Thu May 21 11:12:45 2015 +0300
Committer: sgrebnov <v-...@microsoft.com>
Committed: Wed May 27 16:26:02 2015 +0300

----------------------------------------------------------------------
 createmobilespec/createmobilespec.js | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/blob/dac49802/createmobilespec/createmobilespec.js
----------------------------------------------------------------------
diff --git a/createmobilespec/createmobilespec.js b/createmobilespec/createmobilespec.js
index 0bfa76a..9b3fa9e 100755
--- a/createmobilespec/createmobilespec.js
+++ b/createmobilespec/createmobilespec.js
@@ -56,6 +56,9 @@ function popd(dir) {
 }
 
 function pluginAdd(pluginName, searchPath, extraFlags) {
+    if (!pluginName) {
+        return;
+    }
     var command = cli + ' plugin add ' + pluginName + ' --searchpath ' + searchPath;
     if (extraFlags) {
         command += extraFlags;


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