MCPcopy
hub / github.com/lingodotdev/lingo.dev / pauseIfDebug

Function pauseIfDebug

packages/cli/src/cli/utils/ui.ts:83–87  ·  view source on GitHub ↗
(debug: boolean)

Source from the content-addressed store, hash-verified

81}
82
83export async function pauseIfDebug(debug: boolean) {
84 if (debug) {
85 await waitForUserPrompt("Press Enter to continue...");
86 }
87}
88
89export async function renderSummary(results: Map<any, any>) {
90 console.log(chalk.hex(colors.green)("[Done]"));

Callers 1

index.tsFile · 0.90

Calls 1

waitForUserPromptFunction · 0.85

Tested by

no test coverage detected