Skip to content
This repository has been archived by the owner on Jan 8, 2021. It is now read-only.

Commit

Permalink
Merge pull request #11 from i-e-b/master
Browse files Browse the repository at this point in the history
Fixing registry call under *nix
  • Loading branch information
mariocasciaro committed Nov 19, 2014
2 parents 9ef6002 + 0d6c0c5 commit 656e1b8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/npm-workspace.js
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,8 @@ self.installWorkspaceDependencies = function(cwd, dependencies, workspaceDescrip
self.log.verbose("Installing single module "+ name+"@"+version+armsg);
var installArgs = ['install', name+"@"+version];
if (altRepository) {
installArgs.push('--registry "'+altRepository+'"');
installArgs.push('--registry');
installArgs.push(altRepository);
}
return self.npm(installArgs, cwd).then(function() {
results.installed[name] = version;
Expand Down

0 comments on commit 656e1b8

Please sign in to comment.