Merge pull request #1495 from nwjsmith/patch-1

Allow numeric npm package versions
This commit is contained in:
René Moser 2016-03-19 13:36:32 +01:00
commit e4ed1fba0e

View file

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