Skip to content

Commit

Permalink
better message formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
bahmutov committed Aug 11, 2017
1 parent 6a62ff3 commit add1e64
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/check-npm-file.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ function checkTopLevelNpmDependencies(filename, verbose) {
try {
ok = ok && utils.checkNpmDependency(folder, dep, declaredVersion, verbose);
} catch (err) {
console.error('Problem checking NPM dependency', dep, 'version', declaredVersion);
console.error('Problem checking NPM dependency "%s" version "%s"',
dep, declaredVersion);
console.error(err.message);
}
});
Expand Down

0 comments on commit add1e64

Please sign in to comment.