Skip to content

Commit 463c925

Browse files
committed
[internal] switching output from spaces to tabs
more consistent with how XCode does it
1 parent 5929503 commit 463c925

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/pbxWriter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
var pbxProj = require('./pbxProject'),
22
util = require('util'),
33
f = util.format,
4-
INDENT = ' ',
4+
INDENT = '\t',
55
COMMENT_KEY = /_comment$/,
66
EventEmitter = require('events').EventEmitter
77

test/pbxWriter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ function testProjectContents(filename, test) {
77
content = fs.readFileSync(filename, 'utf-8');
88

99
// normalize tabs vs strings
10-
content = content.replace(/\t/g, ' ');
10+
content = content.replace(/ /g, '\t');
1111

1212
myProj.parse(function (err, projHash) {
1313
var written = myProj.writeSync();

0 commit comments

Comments
 (0)