Skip to content

Commit

Permalink
fix: ts_auto_deps workaround for bazelbuild/bazel#3325 no longer needed
Browse files Browse the repository at this point in the history
  • Loading branch information
gregmagolan committed Aug 21, 2019
1 parent a491eba commit b7de33f
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions ts_auto_deps/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit b7de33f

Please sign in to comment.