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

Function fail

scripts/test-hook-events.js:10–13  ·  view source on GitHub ↗
(message)

Source from the content-addressed store, hash-verified

8const { normalizeCodexHookInput } = require(path.join(__dirname, '..', 'runtimes', 'codex', 'adapters', 'hook-input'));
9const { normalizeClaudeHookInput } = require(path.join(__dirname, '..', 'runtimes', 'claude-code', 'adapters', 'hook-input'));
10const { normalizeOpencodeHookInput } = require(path.join(__dirname, '..', 'runtimes', 'opencode', 'adapters', 'hook-input'));
11const { toLegacyHookPayload } = require(path.join(__dirname, '..', 'core', 'hooks', 'hook-context'));
12const normalizeEvent = require(path.join(__dirname, '..', 'core', 'hooks', 'normalize-event'));
13
14const OPENCODE_FIXTURE = path.join(__dirname, 'fixtures', 'opencode-hook-events.json');
15
16function fail(message) {

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected