Skip to content

Commit f6d12a1

Browse files
committed
docs(observability-map): correct a mutation's what text and tag a README fence
dead-if-empty-string said append where prependToEveryCatch splices at the head of the clause. That string is printed in the corpus table and in the Vitest test name, so it described the wrong position. The report-output block in the README had no language tag (markdownlint MD040).
1 parent b190cbc commit f6d12a1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

internal-packages/observability-map/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ rather than celebrating.
119119
The check list describes a composite the number mostly is not, so the report discloses the
120120
shape instead of hiding it behind a weight. Today:
121121

122-
```
122+
```text
123123
CHECKS
124124
error-classification 166 applicable, 94 pass, 0 sole, global without it 10
125125
auth-boundary 62 applicable, 59 pass, 0 sole, global without it 15

internal-packages/observability-map/src/mutations.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,7 @@ export const MUTATIONS: Mutation[] = [
633633
prependToEveryCatch(
634634
"dead-if-empty-string",
635635
"preserving",
636-
'append if ("") { throw e; } to every catch',
636+
'splice if ("") { throw e; } into every catch',
637637
(e) => `if ("") { throw ${e}; }`
638638
),
639639
prependToEveryCatch(

0 commit comments

Comments
 (0)