From f8ec4b208340d534fdfc021cf2df6d722044a438 Mon Sep 17 00:00:00 2001 From: Dave Nicponski Date: Sun, 6 Feb 2022 14:57:09 -0500 Subject: [PATCH] Update format-test.template.sh --- scala/scalafmt/private/format-test.template.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scala/scalafmt/private/format-test.template.sh b/scala/scalafmt/private/format-test.template.sh index 0648ff52d7..c6d475f8c4 100644 --- a/scala/scalafmt/private/format-test.template.sh +++ b/scala/scalafmt/private/format-test.template.sh @@ -3,7 +3,7 @@ # Explanation: IF $BUILD_WORKSPACE_DIRECTORY is set to something (as it would be during a # `bazel run`), then append a trailing `/`. If it's not set (as it wouldn't be during # a `bazel test` invocation in a wrapping `sh_test` rule), then elide the trailing `/`, and -# instead rely upon a relative path from the test's runtrees. The corresponding change +# instead rely upon a relative path from the test's runfiles tree. The corresponding change # to `phase_scalafmt` places the source files into the `runfiles` set, so they'll be symlinked # correctly in the appropriate relative location. WORKSPACE_ROOT="${1:-${BUILD_WORKSPACE_DIRECTORY}${BUILD_WORKSPACE_DIRECTORY:+/}}"