Skip to content

Commit

Permalink
adding save on global bower install, will eventually get resolutions
Browse files Browse the repository at this point in the history
  • Loading branch information
dbashford committed Sep 7, 2013
1 parent 8c38738 commit 3fd76a1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/install.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ _install = function(mimosaConfig, _installOptions, cb) {
installOpts.save = _installOptions.save;
installOpts.saveDev = _installOptions.saveDev;
names = _installOptions.names;
} else {
installOpts.save = true;
}
logger.info("Starting Bower install...");
return bower.commands.install(names, installOpts).on('log', function(log) {
Expand Down
2 changes: 2 additions & 0 deletions src/install.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ _install = (mimosaConfig, _installOptions, cb) ->
installOpts.save = _installOptions.save
installOpts.saveDev = _installOptions.saveDev
names = _installOptions.names
else
installOpts.save = true

logger.info "Starting Bower install..."
bower.commands.install(names, installOpts)
Expand Down

0 comments on commit 3fd76a1

Please sign in to comment.