mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Adding ability to disable npm install silent flag
This commit is contained in:
parent
d29ad8bbf6
commit
c1101b5f0b
@ -132,6 +132,7 @@ def install(pkg=None,
|
|||||||
pkgs = pkg_list
|
pkgs = pkg_list
|
||||||
if registry:
|
if registry:
|
||||||
registry = _cmd_quote(registry)
|
registry = _cmd_quote(registry)
|
||||||
|
|
||||||
cmd = ['npm', 'install']
|
cmd = ['npm', 'install']
|
||||||
if silent:
|
if silent:
|
||||||
cmd.append(['--silent'])
|
cmd.append(['--silent'])
|
||||||
|
Loading…
Reference in New Issue
Block a user