MCPcopy Index your code
hub / github.com/UsefulSoftwareCo/executor / log

Function log

e2e/scripts/verify-linux-desktop-attach.ts:17–17  ·  view source on GitHub ↗
(m: string)

Source from the content-addressed store, hash-verified

15const execFileP = promisify(execFile);
16const t0 = Date.now();
17const log = (m: string) => console.log(`[+${((Date.now() - t0) / 1000).toFixed(0)}s] ${m}`);
18
19const bundleTgz = process.argv[2] ?? "/tmp/linux-desktop-bundle.tgz";
20// Ubuntu 24.04 (noble) renamed several libs to `…t64`; apt fails the whole

Callers 1

mainFunction · 0.70

Calls 1

logMethod · 0.80

Tested by

no test coverage detected