From c1101b5f0b96ab11d6b14c34f996c5553b2d3270 Mon Sep 17 00:00:00 2001 From: Derek Schaller Date: Sat, 12 Dec 2015 22:18:45 -0800 Subject: [PATCH] Adding ability to disable npm install silent flag --- salt/modules/npm.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/salt/modules/npm.py b/salt/modules/npm.py index 9276371902..c44a52d447 100644 --- a/salt/modules/npm.py +++ b/salt/modules/npm.py @@ -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'])