mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-13 07:26:26 +00:00
fix(go): fix go packages with sub packages creating wrong updates (#6978)
This commit is contained in:
parent
8acb8fcb40
commit
ee6b961f44
1 changed files with 4 additions and 2 deletions
|
@ -115,8 +115,10 @@ export async function getReleases({
|
||||||
});
|
});
|
||||||
logger.trace({ submodReleases }, 'go.getReleases');
|
logger.trace({ submodReleases }, 'go.getReleases');
|
||||||
if (submodReleases.length > 0) {
|
if (submodReleases.length > 0) {
|
||||||
res.releases = submodReleases;
|
return {
|
||||||
return res;
|
sourceUrl: res.sourceUrl,
|
||||||
|
releases: submodReleases,
|
||||||
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (res?.releases) {
|
if (res?.releases) {
|
||||||
|
|
Loading…
Reference in a new issue