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

fix: ts_auto_deps workaround for https://github.com/bazelbuild/bazel/issues/3325 no longer needed #467

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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