Comparing version 1.10.1 to 1.10.2
@@ -210,3 +210,3 @@ // Generated by CoffeeScript 1.3.3 | ||
initNodeModules: function(opts, next) { | ||
var force, logger, nodeModulesPath, packageJsonPath, path, pathUtil, _ref; | ||
var command, force, logger, nodeModulesPath, packageJsonPath, path, pathUtil, _ref; | ||
pathUtil = require('path'); | ||
@@ -224,6 +224,7 @@ _ref = balUtilFlow.extractOptsAndCallback(opts, next), opts = _ref[0], next = _ref[1]; | ||
} | ||
command = ['install', '--force']; | ||
if (logger) { | ||
logger.log('debug', "Initializing node modules\non: " + dirPath + "\nwith:", command); | ||
} | ||
balUtilModules.npmCommand('install', opts, function() { | ||
balUtilModules.npmCommand(command, opts, function() { | ||
var args; | ||
@@ -230,0 +231,0 @@ args = 1 <= arguments.length ? __slice.call(arguments, 0) : []; |
{ | ||
"name": "bal-util", | ||
"version": "1.10.1", | ||
"version": "1.10.2", | ||
"description": "Common utility functions for Node.js used and maintained by Benjamin Lupton", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/balupton/bal-util", |
60905
1788