Skip to content

Commit

Permalink
chore: fix empty string checker to correctly count violations
Browse files Browse the repository at this point in the history
  • Loading branch information
0x4007 committed Oct 8, 2024
1 parent cdc89ca commit ea798ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/empty-string-checker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ function parseDiffForEmptyStrings(diff: string) {
}

// Only process TypeScript files
if (!currentFile.endsWith(".ts")) {
if (!currentFile?.endsWith(".ts")) {
return;
}

Expand Down

0 comments on commit ea798ab

Please sign in to comment.