Skip to content
Snippets Groups Projects
Unverified Commit 12773c66 authored by Rhys Arkins's avatar Rhys Arkins
Browse files

chore(sbt): fix types

parent 4bc12952
No related branches found
No related tags found
No related merge requests found
...@@ -396,11 +396,11 @@ export async function extractAllPackageFiles( ...@@ -396,11 +396,11 @@ export async function extractAllPackageFiles(
for (const dep of pkg.deps) { for (const dep of pkg.deps) {
dep.registryUrls ??= []; dep.registryUrls ??= [];
if (proxyUrls.length > 0) { if (proxyUrls.length > 0) {
dep.registryUrls!.unshift(...proxyUrls); dep.registryUrls.unshift(...proxyUrls);
} else if (dep.depType === 'plugin') { } else if (dep.depType === 'plugin') {
dep.registryUrls!.unshift(SBT_PLUGINS_REPO, SBT_MVN_REPO); dep.registryUrls.unshift(SBT_PLUGINS_REPO, SBT_MVN_REPO);
} else { } else {
dep.registryUrls!.unshift(SBT_MVN_REPO); dep.registryUrls.unshift(SBT_MVN_REPO);
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment