Assume recipe type is git if not specified
Fixes fetch failure for x-face-e21. Noticed through upcoming improvement to test coverage.
This commit is contained in:
parent
48ba3bb39c
commit
91e89099d2
1 changed files with 1 additions and 1 deletions
|
|
@ -243,7 +243,7 @@ let
|
|||
url =
|
||||
if (p.recipe.host or "") == "github" && p ? recipe.repo
|
||||
then "https://github.com/${p.recipe.repo}"
|
||||
else if (p.recipe.type or "") == "git"
|
||||
else if (p.recipe.type or "git") == "git"
|
||||
&& p ? recipe.repo
|
||||
&& (p.recipe.host or null) == null
|
||||
then p.recipe.repo
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue