Merge pull request #1495 from nwjsmith/patch-1

Allow numeric npm package versions
reviewable/pr18780/r1
René Moser 9 years ago
commit e4ed1fba0e

@ -131,7 +131,7 @@ class Npm(object):
self.executable = [module.get_bin_path('npm', True)] self.executable = [module.get_bin_path('npm', True)]
if kwargs['version']: if kwargs['version']:
self.name_version = self.name + '@' + self.version self.name_version = self.name + '@' + str(self.version)
else: else:
self.name_version = self.name self.name_version = self.name

Loading…
Cancel
Save