CLI should switch cwd to source dir when ran by Bazel #462
Labels
ci
Continuous Integration infrastructure
cli
Command Line Interface
good first issue
Good for newcomers
housekeeping
Things that won't impact users, but will impact project devs
CLI commands sometimes perform file operations. When ran by Bazel, the cwd is changed to the bazel runtime dir, so relative file paths don't work as intended, and we end up with special treatment like:
Always make the CLI switch the cwd to the Bazel root source dir when execute by Bazel, and test that all CLI commands still work as expected.
The text was updated successfully, but these errors were encountered: