diff --git a/packages/concatjs/third_party/google3/rules_typescript/ts_auto_deps/main.go b/packages/concatjs/third_party/google3/rules_typescript/ts_auto_deps/main.go index 81542dc2f6..553afbc37f 100644 --- a/packages/concatjs/third_party/google3/rules_typescript/ts_auto_deps/main.go +++ b/packages/concatjs/third_party/google3/rules_typescript/ts_auto_deps/main.go @@ -39,16 +39,6 @@ Flags: } func main() { - // When executed under `bazel run`, we want to run in the users workspace, not - // the runfiles directory of the go_binary. - // See https://github.com/bazelbuild/bazel/issues/3325 - if wd := os.Getenv("BUILD_WORKING_DIRECTORY"); len(wd) > 0 { - err := os.Chdir(wd) - if err != nil { - platform.Error(err) - } - } - flag.Usage = usage flag.Parse()