summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/fetch2/npm.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/bb/fetch2/npm.py b/bitbake/lib/bb/fetch2/npm.py
index 3e352922e0..8c32f81c74 100644
--- a/bitbake/lib/bb/fetch2/npm.py
+++ b/bitbake/lib/bb/fetch2/npm.py
@@ -195,6 +195,7 @@ class Npm(FetchMethod):
195 195
196 dependencies = pdata.get('dependencies', {}) 196 dependencies = pdata.get('dependencies', {})
197 optionalDependencies = pdata.get('optionalDependencies', {}) 197 optionalDependencies = pdata.get('optionalDependencies', {})
198 dependencies.update(optionalDependencies)
198 depsfound = {} 199 depsfound = {}
199 optdepsfound = {} 200 optdepsfound = {}
200 data[pkg]['deps'] = {} 201 data[pkg]['deps'] = {}