Skip to content

Commit

Permalink
chore(sbt): fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
rarkins committed Mar 1, 2024
1 parent 4bc1295 commit 12773c6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/modules/manager/sbt/extract.ts
Expand Up @@ -396,11 +396,11 @@ export async function extractAllPackageFiles(
for (const dep of pkg.deps) {
dep.registryUrls ??= [];
if (proxyUrls.length > 0) {
dep.registryUrls!.unshift(...proxyUrls);
dep.registryUrls.unshift(...proxyUrls);
} else if (dep.depType === 'plugin') {
dep.registryUrls!.unshift(SBT_PLUGINS_REPO, SBT_MVN_REPO);
dep.registryUrls.unshift(SBT_PLUGINS_REPO, SBT_MVN_REPO);
} else {
dep.registryUrls!.unshift(SBT_MVN_REPO);
dep.registryUrls.unshift(SBT_MVN_REPO);
}
}
}
Expand Down

0 comments on commit 12773c6

Please sign in to comment.