diff options
| -rw-r--r-- | bitbake/lib/bb/fetch2/npm.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/npm.py b/bitbake/lib/bb/fetch2/npm.py index 8f7c10ac9b..8a179a339a 100644 --- a/bitbake/lib/bb/fetch2/npm.py +++ b/bitbake/lib/bb/fetch2/npm.py | |||
| @@ -156,7 +156,7 @@ class Npm(FetchMethod): | |||
| 156 | raise ParameterError("Invalid 'version' parameter", ud.url) | 156 | raise ParameterError("Invalid 'version' parameter", ud.url) |
| 157 | 157 | ||
| 158 | # Extract the 'registry' part of the url | 158 | # Extract the 'registry' part of the url |
| 159 | ud.registry = re.sub(r"^npm://", "http://", ud.url.split(";")[0]) | 159 | ud.registry = re.sub(r"^npm://", "https://", ud.url.split(";")[0]) |
| 160 | 160 | ||
| 161 | # Using the 'downloadfilename' parameter as local filename | 161 | # Using the 'downloadfilename' parameter as local filename |
| 162 | # or the npm package name. | 162 | # or the npm package name. |
