MCPcopy Create free account
hub / github.com/garrytan/gstack / readScript

Function readScript

test/regression-pr1169-mktemp-fallbacks.test.ts:21–23  ·  view source on GitHub ↗
(rel: string)

Source from the content-addressed store, hash-verified

19const ROOT = path.resolve(import.meta.dir, "..");
20
21function readScript(rel: string): string {
22 return fs.readFileSync(path.join(ROOT, rel), "utf-8");
23}
24
25describe("PR #1169 bug #4: gstack-telemetry-sync mktemp fallback", () => {
26 const SCRIPT = "bin/gstack-telemetry-sync";

Calls

no outgoing calls

Tested by

no test coverage detected