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

PiperOrigin-RevId: 264859144
  • Loading branch information
gregmagolan authored and alexeagle committed Aug 22, 2019
1 parent ca09d5e commit 53347f3
Showing 1 changed file with 0 additions and 10 deletions.
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 53347f3

Please sign in to comment.