MCPcopy Create free account
hub / github.com/SethGammon/Citadel / readJson

Function readJson

scripts/test-codex-native-integrations.js:24–26  ·  view source on GitHub ↗
(filePath)

Source from the content-addressed store, hash-verified

22const CITADEL_ROOT = path.resolve(__dirname, '..');
23const CODEX_PLUGIN_HOOKS_PATH = './runtimes/codex/hooks.json';
24
25function readJson(filePath) {
26 return JSON.parse(fs.readFileSync(filePath, 'utf8').replace(/^\/\/.*\n/, ''));
27}
28
29function testRepositoryHookPackagingBoundary() {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected