Skip to content

Commit 61a172c

Browse files
oliversalzburgraphinesse
authored andcommitted
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
1 parent a0baeca commit 61a172c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/templates/scripts/cordova/lib/prepare.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ function updateProject (platformConfig, locations) {
223223

224224
/* eslint-disable no-tabs */
225225
// Write out the plist file with the same formatting as Xcode does
226-
var info_contents = plist.build(infoPlist, { indent: ' ', offset: -1 });
226+
var info_contents = plist.build(infoPlist, { indent: '\t', offset: -1 });
227227
/* eslint-enable no-tabs */
228228

229229
info_contents = info_contents.replace(/<string>[\s\r\n]*<\/string>/g, '<string></string>');

0 commit comments

Comments
 (0)