diff options
Diffstat (limited to 'lib/outdated.js')
-rw-r--r-- | lib/outdated.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/outdated.js b/lib/outdated.js index dd5979836..9ad9aff6d 100644 --- a/lib/outdated.js +++ b/lib/outdated.js @@ -111,7 +111,12 @@ function outdated (args, silent, cb) { } output(table(outTable, tableOpts)) } - cb(null, list.map(function (item) { return [item[0].parent.path].concat(item.slice(1, 7)) })) + var msg = [ + 'The outdated dependencies were found. Please make sure', + 'the versions in node_module, or look over package.json', + 'to use the most suitable semver range.' + ].join('\n') + cb(msg, list.map(function (item) { return [item[0].parent.path].concat(item.slice(1, 7)) })) }) })) } |