You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ra...@apache.org on 2019/11/06 19:38:02 UTC
[cordova-ios] branch master updated: Don't use whitespace as an
indent indicator (#614)
This is an automated email from the ASF dual-hosted git repository.
raphinesse pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-ios.git
The following commit(s) were added to refs/heads/master by this push:
new 61a172c Don't use whitespace as an indent indicator (#614)
61a172c is described below
commit 61a172cf7e8f73b9112d3074b44ae307df06bf16
Author: Oliver Salzburg <ol...@gmail.com>
AuthorDate: Wed Nov 6 20:37:53 2019 +0100
Don't use whitespace as an indent indicator (#614)
This is extremely confusing if your editor is not configured to clearly distinguish different sorts of whitespce
---
bin/templates/scripts/cordova/lib/prepare.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/templates/scripts/cordova/lib/prepare.js b/bin/templates/scripts/cordova/lib/prepare.js
index a15380e..efb5c31 100644
--- a/bin/templates/scripts/cordova/lib/prepare.js
+++ b/bin/templates/scripts/cordova/lib/prepare.js
@@ -223,7 +223,7 @@ function updateProject (platformConfig, locations) {
/* eslint-disable no-tabs */
// Write out the plist file with the same formatting as Xcode does
- var info_contents = plist.build(infoPlist, { indent: ' ', offset: -1 });
+ var info_contents = plist.build(infoPlist, { indent: '\t', offset: -1 });
/* eslint-enable no-tabs */
info_contents = info_contents.replace(/<string>[\s\r\n]*<\/string>/g, '<string></string>');
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org