Skip to content

Commit cba32a4

Browse files
committed
docs(cli): correct the distance the --json note gives for the catch block
The note said the `{ error, …errorCodeFields }` envelope sits "twenty lines down"; it is at the end of the method, ~200 lines below. Comment only. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YFY46JydE1gMxQG1TqBcMZ
1 parent 7956a7c commit cba32a4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/cli/src/commands/i18n/extract.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -539,8 +539,8 @@ export default class I18nExtract extends Command {
539539
*
540540
* ⛔ The drift report is deliberately NOT widened into the published
541541
* payload — no `drift` / `missing` / `stale` member is added here. This
542-
* command already has exactly one machine-readable failure envelope,
543-
* twenty lines down in the `catch`: `{ error, …errorCodeFields }`,
542+
* command already has exactly one machine-readable failure envelope
543+
* the `catch` at the end of this method: `{ error, …errorCodeFields }`,
544544
* compact, exit 1. Every other way this command can fail already speaks
545545
* it, the `--check` needs-`--out` refusal above included, so routing
546546
* drift through the same `throw` is copying the convention rather than

0 commit comments

Comments
 (0)