Skip to content

endWarningCapture

endWarningCapture(): string[]

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/utils/consoleUtils.ts:151

Close the warning-capture window opened by beginWarningCapture and return everything collected (empty array if none / never opened). Always call this — a try/finally around the captured work — so a throw can’t leak the capture state into later warnings.

string[]