mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Adding ability to disable npm install silent flag
This commit is contained in:
parent
afe149eb6d
commit
ca4adbf382
@ -135,8 +135,8 @@ def install(pkg=None,
|
||||
|
||||
cmd = ['npm', 'install']
|
||||
if silent:
|
||||
cmd.append(['--silent'])
|
||||
cmd.append(['--json'])
|
||||
cmd.append('--silent')
|
||||
cmd.append('--json')
|
||||
|
||||
if dir is None:
|
||||
cmd.append(' --global')
|
||||
|
Loading…
Reference in New Issue
Block a user