summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch2/npm.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/fetch2/npm.py')
-rw-r--r--bitbake/lib/bb/fetch2/npm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/npm.py b/bitbake/lib/bb/fetch2/npm.py
index 457043f304..df27669c58 100644
--- a/bitbake/lib/bb/fetch2/npm.py
+++ b/bitbake/lib/bb/fetch2/npm.py
@@ -145,7 +145,7 @@ class Npm(FetchMethod):
145 def _getdependencies(self, pkg, data, version, d, ud): 145 def _getdependencies(self, pkg, data, version, d, ud):
146 pkgfullname = pkg 146 pkgfullname = pkg
147 if version != '*' and not '/' in version: 147 if version != '*' and not '/' in version:
148 pkgfullname += "@%s" % version 148 pkgfullname += "@'%s'" % version
149 logger.debug(2, "Calling getdeps on %s" % pkg) 149 logger.debug(2, "Calling getdeps on %s" % pkg)
150 fetchcmd = "npm view %s dist.tarball --registry %s" % (pkgfullname, ud.registry) 150 fetchcmd = "npm view %s dist.tarball --registry %s" % (pkgfullname, ud.registry)
151 output = runfetchcmd(fetchcmd, d, True) 151 output = runfetchcmd(fetchcmd, d, True)