Browse files

Briefer error message

  • Loading branch information...
1 parent 5ddfbc1 commit 576bd8e870ff169849285182ceafaf4bf74a731f @mde committed Jan 30, 2014
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/file.js
View
3 lib/file.js
@@ -536,8 +536,7 @@ var fileUtils = new (function () {
throw new Error(message);
}
throw new Error('Module "' + module + '" could not be found as a ' +
- 'local module.\n Please make sure there is a node_modules directory in the ' +
- 'current directory,\n and install it by doing "npm install ' +
+ 'local module. Please install it by doing "npm install ' +
module + '"');
}
return dep;

0 comments on commit 576bd8e

Please sign in to comment.