Skip to content
This repository has been archived by the owner on Sep 16, 2021. It is now read-only.

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
Closes #467

PiperOrigin-RevId: 264859144
  • Loading branch information
gregmagolan authored and alexeagle committed Aug 22, 2019
1 parent d0aadae commit 8fa90a1
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 8fa90a1

Please sign in to comment.