Skip to content

Commit

Permalink
Update repo_utils.bzl
Browse files Browse the repository at this point in the history
  • Loading branch information
jesses-canva authored Feb 27, 2024
1 parent 8dfd96b commit 2e4af87
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions python/private/repo_utils.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,13 @@ def _which_checked(rctx, binary_name):
"""
binary = rctx.which(binary_name)
if binary == None:
fail(("Unable to find the binary '{binary_name}' on PATH.\n" +
" PATH = {path}".format(path = rctx.os.environ.get("PATH"))))
fail((
"Unable to find the binary '{binary_name}' on PATH.\n" +
" PATH = {path}"
).format(
binary_name = binary_name,
path = rctx.os.environ.get("PATH"),
))
return binary

def _args_to_str(arguments):
Expand Down

0 comments on commit 2e4af87

Please sign in to comment.