Removed check for no package name

When a pkg name is not specified, this should just run `npm install --json`. The check that was removed prevented this from happening and also prevented the 'npm.bootstrap' state from working correctly.
This commit is contained in:
Nicholas Caley 2015-09-10 16:02:56 -04:00 committed by rallytime
parent 843c28b435
commit 0be393be22

View file

@ -133,8 +133,6 @@ def install(pkg=None,
cmd.append(pkg)
elif pkgs:
cmd.extend(pkgs)
else:
return 'No package name specified'
if env is None:
env = {}