MCPcopy Index your code
hub / github.com/triggerdotdev/trigger.dev / readJSONFileSync

Function readJSONFileSync

packages/cli-v3/src/utilities/fileSystem.ts:74–78  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

72}
73
74export function readJSONFileSync(path: string) {
75 const fileContents = fsSync.readFileSync(path, "utf8");
76
77 return JSON.parse(fileContents);
78}
79
80export function safeDeleteFileSync(path: string) {
81 try {

Callers 4

packageJsonMethod · 0.90
readAuthConfigProfileFunction · 0.70
readAuthConfigFileFunction · 0.70
getVersionFunction · 0.70

Calls 1

parseMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…