From b7de33f83e62054401f3518beea7c6fcdda70541 Mon Sep 17 00:00:00 2001 From: Greg Magolan Date: Tue, 20 Aug 2019 23:00:48 -0700 Subject: [PATCH] fix: ts_auto_deps workaround for https://github.com/bazelbuild/bazel/issues/3325 no longer needed --- ts_auto_deps/main.go | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/ts_auto_deps/main.go b/ts_auto_deps/main.go index 81542dc2..553afbc3 100644 --- a/ts_auto_deps/main.go +++ b/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()