-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clarify /rules/lib/builtins/repository_ctx description of default working_directory for execute() #22669
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
@@ -1561,7 +1561,8 @@ private static String profileArgsDesc(String method, List<String> 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 relative to the repository root."), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe just "The default is the repository root."?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done!
…king_directory for execute() Fixes bazelbuild#21897 per feedback from @meteorcloudy.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
…king_directory for execute() Fixes bazelbuild#21897 per feedback from @meteorcloudy. Closes bazelbuild#22669. PiperOrigin-RevId: 642185332 Change-Id: I188efa9bf0567d14fdd1b67583f51bebd65af295
Fixes #21897 per feedback from @meteorcloudy.