Skip to content

Commit

Permalink
fix npm_url in install_npm_win
Browse files Browse the repository at this point in the history
  • Loading branch information
smpsnr committed Feb 28, 2019
1 parent 2d41bf8 commit ca4a17b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nodeenv.py
Original file line number Diff line number Diff line change
Expand Up @@ -755,7 +755,7 @@ def install_npm_win(env_dir, src_dir, opt):
"""
logger.info(' * Install npm.js (%s) ... ' % opt.npm,
extra=dict(continued=True))
npm_url = 'https://github.com/npm/cli/archive/%s.zip' % opt.npm
npm_url = 'https://github.com/npm/cli/archive/v%s.zip' % opt.npm
npm_contents = io.BytesIO(urlopen(npm_url).read())

bin_path = join(env_dir, 'Scripts')
Expand Down

0 comments on commit ca4a17b

Please # to comment.