Add title and description to GitHub Action Investigator script #708
Annotations
3 errors
genaiscript pr-review-commit:
packages/cli/src/run.ts#L434
The `pullRequest` variable is not checked for `undefined` or `null` before being used. This could lead to unexpected behavior if `pullRequest` is `undefined` or `null`. Please add a check for `pullRequest` before using it. 😊
|
genaiscript pr-review-commit:
packages/core/src/github.ts#L80
The `options?.issue` is not checked for `undefined` or `null` before being used. This could lead to unexpected behavior if `options?.issue` is `undefined` or `null`. Please add a check for `options?.issue` before using it. 😊
|
genaiscript pr-review-commit:
packages/core/src/github.ts#L80
The use of `isNaN(options?.issue)` could lead to type coercion and unexpected behavior. Consider using `Number.isNaN(Number(options?.issue))` for a safer check. 😊
|
Loading