MCPcopy
hub / github.com/freshframework/fresh / exitError

Function exitError

tools/release.ts:13–18  ·  view source on GitHub ↗
(msg: string)

Source from the content-addressed store, hash-verified

11}
12
13function exitError(msg: string): never {
14 // deno-lint-ignore no-console
15 console.error(cl.red(msg));
16 showHelp();
17 Deno.exit(1);
18}
19
20if (Deno.args.length === 0) {
21 exitError(`Missing version argument.`);

Callers 2

release.tsFile · 0.85
updateVersionsFunction · 0.85

Calls 2

showHelpFunction · 0.85
errorMethod · 0.80

Tested by

no test coverage detected