Skip to content

Commit

Permalink
chore(action): fixed issue with var
Browse files Browse the repository at this point in the history
  • Loading branch information
DarrellRichards committed Jun 1, 2024
1 parent 3ba739b commit 9e7b01e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ async function validateCode(diff: File[], details: Details) {
return [];
}

if (!result.lineNumber) {
return [];
}

return {
body: result.review,
path: file.to,
Expand Down

0 comments on commit 9e7b01e

Please sign in to comment.