Commit f1405f9
[linter] Improve error handling when processing messages.yaml file.
Adds some missing `$`s to fix string interpolation when reporting
errors in the `messages.yaml` file. Also adds a try/catch so that if
an error occurs while processing a particular lint code, the lint code
in question will always be reported.
This should make it easier to track down problems when working on the
linter's `messages.yaml` file.
Change-Id: I6a6a6964072522ac4f43579f28f8d190a0c794f1
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/451840
Auto-Submit: Paul Berry <[email protected]>
Reviewed-by: Samuel Rawlins <[email protected]>
Commit-Queue: Samuel Rawlins <[email protected]>1 parent 79ae34c commit f1405f9
1 file changed
+9
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
81 | 87 | | |
82 | 88 | | |
83 | 89 | | |
| |||
0 commit comments