mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-11 22:46:27 +00:00
fix(nuget): don’t warn for 3.0.0-rc version
This commit is contained in:
parent
dd8cf757a6
commit
172082509c
1 changed files with 3 additions and 2 deletions
|
@ -76,11 +76,12 @@ export async function getResourceUrl(
|
|||
// istanbul ignore if
|
||||
if (
|
||||
resourceType === 'RegistrationsBaseUrl' &&
|
||||
!version?.startsWith('3.0.0-') &&
|
||||
!semver.satisfies(version, '^3.0.0')
|
||||
) {
|
||||
logger.warn(
|
||||
{ url },
|
||||
`Nuget: RegistrationsBaseUrl/${version} is the major update`
|
||||
{ url, version },
|
||||
`Nuget: Unknown version returned. Only v3 is supported`
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue