MCPcopy
hub / github.com/triggerdotdev/trigger.dev / readJSONFileSync

Function readJSONFileSync

packages/cli/src/utils/fileSystem.ts:55–59  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

53}
54
55export function readJSONFileSync(path: string) {
56 const fileContents = fsSync.readFileSync(path, "utf8");
57
58 return JSON.parse(fileContents);
59}

Callers 2

getVersionFunction · 0.90
updateCommandFunction · 0.50

Calls 1

parseMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…