Adding ability to disable npm install silent flag

This commit is contained in:
Derek Schaller 2015-12-12 22:18:45 -08:00 committed by Justin Findlay
parent d29ad8bbf6
commit c1101b5f0b

View File

@ -132,7 +132,8 @@ def install(pkg=None,
pkgs = pkg_list
if registry:
registry = _cmd_quote(registry)
cmd = ['npm', 'install']
cmd = ['npm', 'install']
if silent:
cmd.append(['--silent'])
cmd.append(['--json'])