modules.npm: do not log npm --version at info level (#33084)

This commit is contained in:
Justin Findlay 2016-05-06 09:22:20 -06:00 committed by Mike Place
parent 3808d05838
commit e788f7ec44

View File

@ -49,7 +49,7 @@ def _check_valid_version():
'''
# pylint: disable=no-member
npm_version = distutils.version.LooseVersion(
salt.modules.cmdmod.run('npm --version', python_shell=True))
salt.modules.cmdmod.run('npm --version', output_loglevel='quiet'))
valid_version = distutils.version.LooseVersion('1.2')
# pylint: enable=no-member
if npm_version < valid_version: