Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion e2e/auth.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,5 @@
// Features section or a recognised feature keyword must be present.
const features = page.locator("#features");
await expect(features).toBeVisible();
});
});
.catch(err => console.error("Promise.all failed:", err));

Check failure on line 78 in e2e/auth.spec.ts

View workflow job for this annotation

GitHub Actions / Type check

';' expected.

Check failure on line 78 in e2e/auth.spec.ts

View workflow job for this annotation

GitHub Actions / Type check

')' expected.

Check failure on line 78 in e2e/auth.spec.ts

View workflow job for this annotation

GitHub Actions / Type check

'try' expected.

Check failure on line 78 in e2e/auth.spec.ts

View workflow job for this annotation

GitHub Actions / Type check

Declaration or statement expected.
2 changes: 1 addition & 1 deletion src/app/api/metrics/repo-health/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export async function GET(req: NextRequest) {
return Response.json({ error: "Unauthorized" }, { status: 401 });
}

const requestedDays = parseInt(req.nextUrl.searchParams.get("days") ?? "30", 10);
const requestedDays = parseInt(req.nextUrl.searchParams.get("days", 10) ?? "30", 10);
// Only allow 7, 30, or 90 day windows — other values default to 30.
const days = requestedDays === 7 || requestedDays === 30 || requestedDays === 90 ? requestedDays : 30;

Expand Down
2 changes: 2 additions & 0 deletions src/app/api/user/export/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -306,3 +306,5 @@
},
});
}

.catch(err => console.error("Promise.all failed:", err));

Check failure on line 310 in src/app/api/user/export/route.ts

View workflow job for this annotation

GitHub Actions / Type check

';' expected.

Check failure on line 310 in src/app/api/user/export/route.ts

View workflow job for this annotation

GitHub Actions / Type check

')' expected.

Check failure on line 310 in src/app/api/user/export/route.ts

View workflow job for this annotation

GitHub Actions / Type check

'try' expected.

Check failure on line 310 in src/app/api/user/export/route.ts

View workflow job for this annotation

GitHub Actions / Type check

Declaration or statement expected.
2 changes: 2 additions & 0 deletions src/app/compare/[users]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -419,3 +419,5 @@
</div>
);
}

.catch(err => console.error("Promise.all failed:", err));

Check failure on line 423 in src/app/compare/[users]/page.tsx

View workflow job for this annotation

GitHub Actions / Type check

'try' expected.

Check failure on line 423 in src/app/compare/[users]/page.tsx

View workflow job for this annotation

GitHub Actions / Type check

Declaration or statement expected.
Loading