commit | 2afb9d7722f5db3a2a35bd8f9703c5b2e91f5bd6 | [log] [tgz] |
---|---|---|
author | Sasha Smundak <asmundak@google.com> | Sun Oct 24 15:16:59 2021 -0700 |
committer | Sasha Smundak <asmundak@google.com> | Wed Oct 27 10:56:47 2021 -0700 |
tree | 13c4353191154c5d25f87876adc1d5345946e510 | |
parent | 6d852dd16a6ab70013f913b16c0fbaf173db0e3c [diff] [blame] |
Fix how the rule is displayed in the error message. Bug: 204001941 Test: internal Change-Id: I19c73356cc305ec7a6dfd3bddbde775ef9ca4953
diff --git a/mk2rbc/mk2rbc.go b/mk2rbc/mk2rbc.go index 99008d1..fb72638 100644 --- a/mk2rbc/mk2rbc.go +++ b/mk2rbc/mk2rbc.go
@@ -1466,7 +1466,7 @@ handled = false } default: - ctx.errorf(x, "unsupported line %s", x.Dump()) + ctx.errorf(x, "unsupported line %s", strings.ReplaceAll(x.Dump(), "\n", "\n#")) } return handled }