mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-12 06:56:24 +00:00
fix(go): check for res from github datasource before continuing
This commit is contained in:
parent
7a02eadfa9
commit
05d5b444b9
1 changed files with 4 additions and 1 deletions
|
@ -89,7 +89,10 @@ export async function getPkgReleases({
|
|||
const source = await getDatasource(lookupName);
|
||||
if (source && source.datasource === github.id) {
|
||||
const res = await github.getPkgReleases(source);
|
||||
|
||||
// istanbul ignore if
|
||||
if (!res) {
|
||||
return res;
|
||||
}
|
||||
/**
|
||||
* github.com/org/mod/submodule should be tagged as submodule/va.b.c
|
||||
* and that tag should be used instead of just va.b.c, although for compatibility
|
||||
|
|
Loading…
Reference in a new issue