Function: warnOnce()
ts
function warnOnce(report): void;Defined in: src/core/schemaMismatch.ts:227
Prints each distinct problem once, to stderr.
Stderr rather than stdout because a CLI's output belongs to the CLI: redirected to a file or piped into jq, this stays in the terminal and the machine-readable stream is untouched. Deduplication is what makes it bearable at all — the same field over five hundred paginated issues is one line, not five hundred.
Parameters
| Parameter | Type |
|---|---|
report | SchemaMismatchReport |
Returns
void