mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-12 23:16: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');
|
||||
if (submodReleases.length > 0) {
|
||||
res.releases = submodReleases;
|
||||
return res;
|
||||
return {
|
||||
sourceUrl: res.sourceUrl,
|
||||
releases: submodReleases,
|
||||
};
|
||||
}
|
||||
}
|
||||
if (res?.releases) {
|
||||
|
|
Loading…
Reference in a new issue