Use npm.cmd on Windows to print version
This commit is contained in:
parent
687a512b11
commit
10860e4ec5
1 changed files with 2 additions and 1 deletions
|
@ -98,7 +98,8 @@ def log_versions():
|
|||
|
||||
sys.stderr.write('\nnpm --version\n')
|
||||
sys.stderr.flush()
|
||||
subprocess.call(["npm", "--version"])
|
||||
npm = 'npm.cmd' if PLATFORM == 'win32' else 'npm'
|
||||
subprocess.call([npm, "--version"])
|
||||
|
||||
|
||||
def setup_nodenv():
|
||||
|
|
Loading…
Reference in a new issue