mirror of
https://github.com/bower/bower.git
synced 2026-02-11 22:44:58 -05:00
Initial take on the commands + renderers + cli.
This commit is contained in:
@@ -184,7 +184,9 @@ Project.prototype._readJson = function () {
|
||||
if (path.basename(filename) === 'component.json') {
|
||||
process.nextTick(function () {
|
||||
deferred.notify({
|
||||
type: 'warn',
|
||||
level: 'warn',
|
||||
tag: 'deprecated',
|
||||
json: filename,
|
||||
data: 'You are using the deprecated component.json file'
|
||||
});
|
||||
});
|
||||
@@ -285,4 +287,4 @@ Project.prototype._restoreNode = function (node, flattened, jsonKey) {
|
||||
}, this);
|
||||
};
|
||||
|
||||
module.exports = Project;
|
||||
module.exports = Project;
|
||||
|
||||
Reference in New Issue
Block a user