mirror of
https://github.com/bower/bower.git
synced 2026-04-24 03:00:19 -04:00
Fix no-json warn on empty projects.
This commit is contained in:
@@ -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;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user