fix: ts_auto_deps workaround for https://github.com/bazelbuild/bazel/issues/3325 no longer needed
Closes #467
PiperOrigin-RevId: 264859144
diff --git a/ts_auto_deps/main.go b/ts_auto_deps/main.go
index 81542dc..553afbc 100644
--- a/ts_auto_deps/main.go
+++ b/ts_auto_deps/main.go
@@ -39,16 +39,6 @@
}
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()