Skip to content

Commit

Permalink
fix(init): install plugin as dev dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
kimjoar committed Jul 30, 2013
1 parent b72355c commit 46b7a40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ var validateBrowser = function(name) {
try {
require(moduleName);
} catch (e) {
log.warn('Missing "%s" plugin.\n npm install %s --save' + colors.NYAN, moduleName, moduleName);
log.warn('Missing "%s" plugin.\n npm install %s --save-dev' + colors.NYAN, moduleName, moduleName);
}

// TODO(vojta): check if the path resolves to a binary
Expand All @@ -66,7 +66,7 @@ var validateFramework = function(name) {
try {
require('karma-' + name);
} catch (e) {
log.warn('Missing "karma-%s" plugin.\n npm install karma-%s --save' + colors.NYAN, name, name);
log.warn('Missing "karma-%s" plugin.\n npm install karma-%s --save-dev' + colors.NYAN, name, name);
}
};

Expand Down

0 comments on commit 46b7a40

Please sign in to comment.