Skip to content

Commit 824889a

Browse files
zhaoqxucopybara-github
authored andcommitted
use backslash character to escape special characters in the bash command to make the error message output correctly.
PiperOrigin-RevId: 582110416 Change-Id: I917a36ac6a6a2073a4c591580bb57c3614587d95
1 parent ce384ad commit 824889a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rules/proguard.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -662,7 +662,7 @@ def _merge_proguard_maps(
662662
def _fail_action(ctx, *outputs):
663663
ctx.actions.run_shell(
664664
outputs = [output for output in outputs if output != None],
665-
command = "echo \"Unable to run proguard without `proguard_specs`\"; exit 1;",
665+
command = "echo \"Unable to run proguard without \\`proguard_specs\\`\"; exit 1;",
666666
)
667667

668668
proguard = struct(

0 commit comments

Comments
 (0)