mirror of
https://github.com/renovatebot/renovate.git
synced 2026-10-25 06:51:11 +00:00
fc57966a6e
* fix(datasource): document `first` as the default registry strategy The `hunt` JSDoc claimed to be the default for an undefined `registryStrategy`, but the `Datasource` base class sets `first`, so the `?? 'hunt'` fallback in the registry was only reachable from a test double. Make the field required on `DatasourceApi`, move the "default" note to `first`, drop the fallback, and delete the five overrides that restated the base default. * test(datasource): set registryStrategy on the object-literal datasource doubles `registryStrategy` is required on `DatasourceApi` since this PR, and the two object-literal doubles added with the GraalVM datasource (#40497) did not set it, which failed the type check.