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 2019/07/18 16:44:44 UTC

[cordova-ios] 01/01: fix(build.json): spacing in error message and missing path in log

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

janpio pushed a commit to branch janpio-buildjson
in repository https://gitbox.apache.org/repos/asf/cordova-ios.git

commit ae70aa6fd9e4555621294399e95f2cd17fef5adb
Author: Jan Piotrowski <pi...@gmail.com>
AuthorDate: Thu Jul 18 18:44:35 2019 +0200

    fix(build.json): spacing in error message and missing path in log
---
 bin/templates/scripts/cordova/lib/build.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/templates/scripts/cordova/lib/build.js b/bin/templates/scripts/cordova/lib/build.js
index 7a36c06..f8d301d 100644
--- a/bin/templates/scripts/cordova/lib/build.js
+++ b/bin/templates/scripts/cordova/lib/build.js
@@ -120,9 +120,9 @@ module.exports.run = function (buildOpts) {
 
     if (buildOpts.buildConfig) {
         if (!fs.existsSync(buildOpts.buildConfig)) {
-            return Q.reject('Build config file does not exist:' + buildOpts.buildConfig);
+            return Q.reject('Build config file does not exist: ' + buildOpts.buildConfig);
         }
-        events.emit('log', 'Reading build config file:', path.resolve(buildOpts.buildConfig));
+        events.emit('log', 'Reading build config file: ' + path.resolve(buildOpts.buildConfig));
         var contents = fs.readFileSync(buildOpts.buildConfig, 'utf-8');
         var buildConfig = JSON.parse(contents.replace(/^\ufeff/, '')); // Remove BOM
         if (buildConfig.ios) {


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