diff options
Diffstat (limited to 'bitbake/lib/bb/fetch2/npmsw.py')
-rw-r--r-- | bitbake/lib/bb/fetch2/npmsw.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/bb/fetch2/npmsw.py b/bitbake/lib/bb/fetch2/npmsw.py index 359192a29e..d89be10caf 100644 --- a/bitbake/lib/bb/fetch2/npmsw.py +++ b/bitbake/lib/bb/fetch2/npmsw.py | |||
@@ -49,6 +49,8 @@ def foreach_dependencies(shrinkwrap, callback=None, dev=False): | |||
49 | if package != "": | 49 | if package != "": |
50 | name = package.split('node_modules/')[-1] | 50 | name = package.split('node_modules/')[-1] |
51 | package_infos = packages.get(package, {}) | 51 | package_infos = packages.get(package, {}) |
52 | if dev == False and package_infos.get("dev", False): | ||
53 | continue | ||
52 | callback(name, package_infos, package) | 54 | callback(name, package_infos, package) |
53 | 55 | ||
54 | class NpmShrinkWrap(FetchMethod): | 56 | class NpmShrinkWrap(FetchMethod): |