Improving error messages on missing tokens #1136
Annotations
1 error
genaiscript pr-review-commit:
packages/cli/src/nodehost.ts#L235
The condition `if (!tok)` is checked twice in succession without any code in between that could modify `tok`. This makes the second check redundant and potentially indicates a logical error in the code flow. Please review the logic to ensure it behaves as intended.
|
Loading