From 8c362a33c591042c1046f15f6a908ba78a4c1171 Mon Sep 17 00:00:00 2001 From: David Sanderson <32687193+dws@users.noreply.github.com> Date: Tue, 11 Jun 2024 01:56:44 -0700 Subject: [PATCH] Clarify /rules/lib/builtins/repository_ctx description of default working_directory for execute() Fixes #21897 per feedback from @meteorcloudy. Closes #22669. PiperOrigin-RevId: 642185332 Change-Id: I188efa9bf0567d14fdd1b67583f51bebd65af295 --- .../bazel/repository/starlark/StarlarkBaseExternalContext.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/google/devtools/build/lib/bazel/repository/starlark/StarlarkBaseExternalContext.java b/src/main/java/com/google/devtools/build/lib/bazel/repository/starlark/StarlarkBaseExternalContext.java index c250dfe966049c..ec0c2e76548fc4 100644 --- a/src/main/java/com/google/devtools/build/lib/bazel/repository/starlark/StarlarkBaseExternalContext.java +++ b/src/main/java/com/google/devtools/build/lib/bazel/repository/starlark/StarlarkBaseExternalContext.java @@ -1725,7 +1725,8 @@ private static String profileArgsDesc(String method, List args) { named = true, doc = "Working directory for command execution.\n" - + "Can be relative to the repository root or absolute."), + + "Can be relative to the repository root or absolute.\n" + + "The default is the repository root."), }) public StarlarkExecutionResult execute( Sequence arguments, // or or