We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
when running bazel lint --fix, a patch file gets successfully generated:
bazel lint --fix
--- a/path/to/file.ts +++ b/path/to/file.ts @@ -1,5 +1,5 @@ -import logform from 'logform'; import _ from 'lodash'; +import logform from 'logform'; import traverse from 'traverse';
The aspect build is succesful, but subsequently the apply fails with:
Error: open path/to/file.ts: no such file or directory
I suspect it's failing on this line, where it expected CWD to be the workspace root.
This error does not happen, if i run bazel lint --fix from workspace root, but fails if i run from a nested directory.
Development (host) and target OS/architectures:
Output of bazel --version: 7.1.1
bazel --version
Version of the Aspect rules, or other relevant rules from your WORKSPACE or MODULE.bazel file:
WORKSPACE
MODULE.bazel
http_archive( name = "aspect_rules_lint", sha256 = "a3e07f07216b6b406d2297c273e7af4cc8096b43288952020cdf4dc12f45b5e8", strip_prefix = "rules_lint-0.18.0", url = "https://github.com/aspect-build/rules_lint/releases/download/v0.18.0/rules_lint-v0.18.0.tar.gz", )
Language(s) and/or frameworks involved: typescript
No response
The text was updated successfully, but these errors were encountered:
alexeagle
No branches or pull requests
What happened?
when running
bazel lint --fix
, a patch file gets successfully generated:The aspect build is succesful, but subsequently the apply fails with:
I suspect it's failing on this line, where it expected CWD to be the workspace root.
This error does not happen, if i run
bazel lint --fix
from workspace root, but fails if i run from a nested directory.Version
Development (host) and target OS/architectures:
Output of
bazel --version
: 7.1.1Version of the Aspect rules, or other relevant rules from your
WORKSPACE
orMODULE.bazel
file:Language(s) and/or frameworks involved:
typescript
How to reproduce
No response
Any other information?
No response
The text was updated successfully, but these errors were encountered: