Fix no-json warn on empty projects.

This commit is contained in:
André Cruz
2013-07-21 19:42:16 +01:00
parent a37f1c5dcb
commit a9afa42f52

View File

@@ -512,7 +512,7 @@ Project.prototype._readJson = function () {
});
})
.then(function (json) {
var jsonStr = JSON.stringify(json, null, ' ');
var jsonStr = JSON.stringify(json, null, ' ') + '\n';
that._jsonHash = md5(jsonStr);
return that._json = json;
});