diff --git a/.github/empty-string-checker.ts b/.github/empty-string-checker.ts index 2ae6fa1..c7e9c3b 100644 --- a/.github/empty-string-checker.ts +++ b/.github/empty-string-checker.ts @@ -94,7 +94,7 @@ function parseDiffForEmptyStrings(diff: string) { } // Only process TypeScript files - if (!currentFile.endsWith(".ts")) { + if (!currentFile?.endsWith(".ts")) { return; }