MCPcopy Index your code
hub / github.com/coder/mux / createInitLogger

Function createInitLogger

src/node/runtime/submoduleSync.test.ts:32–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30}
31
32function createInitLogger() {
33 const steps: string[] = [];
34 const logger: InitLogger = {
35 logStep: (message) => steps.push(message),
36 logStdout: (_line) => undefined,
37 logStderr: (_line) => undefined,
38 logComplete: (_exitCode) => undefined,
39 };
40
41 return { logger, steps };
42}
43
44async function pathExists(filePath: string): Promise<boolean> {
45 try {

Callers 1

Calls 1

pushMethod · 0.65

Tested by

no test coverage detected