mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Adding ability to disable npm install silent flag
This commit is contained in:
parent
afe149eb6d
commit
ca4adbf382
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue