Skip to content

Commit fd51030

Browse files
Potential fix for code scanning alert no. 1: Use of externally-controlled format string
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent b9f377d commit fd51030

File tree

1 file changed

+1
-1
lines changed
  • catalog-analytics/app/api/github/ci-status

1 file changed

+1
-1
lines changed

catalog-analytics/app/api/github/ci-status/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ export async function POST(request: Request) {
106106
: `${data.total_count} check(s)`,
107107
};
108108
} catch (error) {
109-
console.error(`Error fetching CI status for ${repo_id}:`, error);
109+
console.error('Error fetching CI status for %s:', repo_id, error);
110110
return {
111111
repo_id,
112112
state: 'unknown' as const,

0 commit comments

Comments
 (0)