We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 646d5db commit 60bfe0eCopy full SHA for 60bfe0e
lib/pbxProject.js
@@ -40,9 +40,10 @@ pbxProject.prototype.parse = function (cb) {
40
}
41
42
pbxProject.prototype.parseSync = function () {
43
- var file_contents = fs.readFileSync(this.filepath, 'utf-8')
44
- , obj = parser.parse(file_contents);
45
- return obj;
+ var file_contents = fs.readFileSync(this.filepath, 'utf-8');
+
+ this.hash = parser.parse(file_contents);
46
+ return this;
47
48
49
pbxProject.prototype.writeSync = function () {
0 commit comments