Skip to content

Commit

Permalink
fix(swc-plugins): Fix data ingress (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 authored Aug 27, 2024
1 parent 5802511 commit 2444f91
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions swc-plugins/lib/api/updater/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@ export const updaterRouter = router({
});

if (!compatRange) {
throw new TRPCError({
code: "NOT_FOUND",
message: `Compat range not found for SWC core version ${swcCoreVersion}`,
});
console.error(
`Compat range not found for SWC core version ${swcCoreVersion}`
);
continue;
}

await db.swcPluginVersion.upsert({
Expand Down Expand Up @@ -137,10 +137,10 @@ export const updaterRouter = router({
const compatRange = byVersion(swcCoreVersion);

if (!compatRange) {
throw new TRPCError({
code: "NOT_FOUND",
message: `Compat range not found for SWC core version ${swcCoreVersion}`,
});
console.error(
`Compat range not found for SWC core version ${swcCoreVersion}`
);
continue;
}

await db.swcRuntimeVersion.upsert({
Expand Down

0 comments on commit 2444f91

Please sign in to comment.