You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ja...@apache.org on 2018/11/23 23:52:00 UTC
[cordova-mobile-spec] 14/16: fix bug in output when something
(repo) is missing
This is an automated email from the ASF dual-hosted git repository.
janpio pushed a commit to branch janpio-cleanup
in repository https://gitbox.apache.org/repos/asf/cordova-mobile-spec.git
commit 6845ab56033c0c4007377378e170573c42778c98
Author: Jan Piotrowski <pi...@gmail.com>
AuthorDate: Sat Nov 24 00:51:13 2018 +0100
fix bug in output when something (repo) is missing
---
createmobilespec/createmobilespec.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/createmobilespec/createmobilespec.js b/createmobilespec/createmobilespec.js
index 7e7b324..2d83383 100755
--- a/createmobilespec/createmobilespec.js
+++ b/createmobilespec/createmobilespec.js
@@ -512,7 +512,7 @@ if (argv.plugman) {
} else {
platformArg = join_paths([top_dir].concat(platform_layout[platform].bin));
if (!fs.existsSync(platformArg)) {
- couldNotFind(platformArg, platform);
+ couldNotFind(platform, platform);
platforms = platforms.filter(function (p) { return p != platform; });
return;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org