mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
modules.npm: do not log npm --version at info level (#33084)
This commit is contained in:
parent
3808d05838
commit
e788f7ec44
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user