8000 comment: do not drop existing env vars in parser.go · bazel-contrib/rules_python@0b63a75 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0b63a75

Browse files
aignasfmeum
andauthored
comment: do not drop existing env vars in parser.go
Co-authored-by: Fabian Meumertzheim <fabian@meumertzhe.im>
1 parent 896257a commit 0b63a75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gazelle/python/parser.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ func startParserProcess(ctx context.Context) {
5151
}
5252

5353
cmd := exec.CommandContext(ctx, parseScriptRunfile)
54-
cmd.Env = rfiles.Env()
54+
cmd.Env = append(os.Env(), rfiles.Env()...)
5555

5656
cmd.Stderr = os.Stderr
5757

0 commit comments

Comments
 (0)
0