mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
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:
parent
843c28b435
commit
0be393be22
1 changed files with 0 additions and 2 deletions
|
@ -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 = {}
|
||||
|
|
Loading…
Add table
Reference in a new issue