Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Commit

Permalink
outdated: drop the error message
Browse files Browse the repository at this point in the history
PR-URL: #14013
Credit: @zkat
Reviewed-By: @iarna
  • Loading branch information
zkat committed Oct 20, 2016
1 parent c81838a commit e2fa18d
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions lib/outdated.js
Expand Up @@ -111,12 +111,8 @@ function outdated (args, silent, cb) {
}
output(table(outTable, tableOpts))
}
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)) }))
process.exitCode = list.length
cb(null, list.map(function (item) { return [item[0].parent.path].concat(item.slice(1, 7)) }))
})
}))
}
Expand Down

0 comments on commit e2fa18d

Please sign in to comment.