diff options
| -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 cfdfdae060..879ba5de0f 100644 --- a/bitbake/lib/bb/fetch2/npmsw.py +++ b/bitbake/lib/bb/fetch2/npmsw.py | |||
| @@ -131,6 +131,8 @@ class NpmShrinkWrap(FetchMethod): | |||
| 131 | 131 | ||
| 132 | # Handle git sources | 132 | # Handle git sources |
| 133 | elif version.startswith("git"): | 133 | elif version.startswith("git"): |
| 134 | if version.startswith("github:"): | ||
| 135 | version = "git+https://github.com/" + version[len("github:"):] | ||
| 134 | regex = re.compile(r""" | 136 | regex = re.compile(r""" |
| 135 | ^ | 137 | ^ |
| 136 | git\+ | 138 | git\+ |
