mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Go/Bazel: fix gazelle invocation to use bundled bazel go
This commit is contained in:
@@ -24,7 +24,7 @@ def options():
|
||||
opts = options()
|
||||
|
||||
try:
|
||||
workspace_dir = pathlib.Path(os.environ.pop('BUILD_WORKSPACE_DIRECTORY'))
|
||||
workspace_dir = pathlib.Path(os.environ['BUILD_WORKSPACE_DIRECTORY'])
|
||||
except KeyError:
|
||||
print("this should be run with bazel run", file=sys.stderr)
|
||||
sys.exit(1)
|
||||
|
||||
Reference in New Issue
Block a user