Support custom .env file location via CLI/env #1114
Annotations
3 errors
genaiscript pr-review-commit:
packages/cli/src/cli.ts#L59
The variable `nodeHost` is used without being defined or imported in this context. Ensure that `nodeHost` is properly defined or imported before use. 🧐
|
genaiscript pr-review-commit:
packages/cli/src/nodehost.ts#L182
The `exists` function is awaited, but it is not clear if it returns a Promise. Ensure that `exists` is an asynchronous function returning a Promise. If not, remove the `await` keyword. 🔍
|
genaiscript pr-review-commit:
packages/cli/src/nodehost.ts#L183
Throwing a generic `Error` with a string message can make debugging difficult. Consider creating a custom error class for more context or using a more descriptive error message. 💡
|
Loading