Message ID | bb5c43220f5f1c3d82334c65aff1ce13008db8d9.1664898736.git.steve@sakoman.com |
---|---|
State | Accepted, archived |
Commit | bb5c43220f5f1c3d82334c65aff1ce13008db8d9 |
Headers | show |
Series | [kirkstone,2.0,1/8] runqueue: Ensure deferred tasks are sorted by multiconfig | expand |
diff --git a/lib/bb/fetch2/npm.py b/lib/bb/fetch2/npm.py index 8f7c10ac..8a179a33 100644 --- a/lib/bb/fetch2/npm.py +++ b/lib/bb/fetch2/npm.py @@ -156,7 +156,7 @@ class Npm(FetchMethod): raise ParameterError("Invalid 'version' parameter", ud.url) # Extract the 'registry' part of the url - ud.registry = re.sub(r"^npm://", "http://", ud.url.split(";")[0]) + ud.registry = re.sub(r"^npm://", "https://", ud.url.split(";")[0]) # Using the 'downloadfilename' parameter as local filename # or the npm package name.