Skip to content

Commit 60bfe0e

Browse files
committed
fixed parseSync function sig
1 parent 646d5db commit 60bfe0e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

lib/pbxProject.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,10 @@ pbxProject.prototype.parse = function (cb) {
4040
}
4141

4242
pbxProject.prototype.parseSync = function () {
43-
var file_contents = fs.readFileSync(this.filepath, 'utf-8')
44-
, obj = parser.parse(file_contents);
45-
return obj;
43+
var file_contents = fs.readFileSync(this.filepath, 'utf-8');
44+
45+
this.hash = parser.parse(file_contents);
46+
return this;
4647
}
4748

4849
pbxProject.prototype.writeSync = function () {

0 commit comments

Comments
 (0)