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

Function assert

scripts/test-secrets-lens.js:58–62  ·  view source on GitHub ↗
(condition, message)

Source from the content-addressed store, hash-verified

56}
57
58function assert(condition, message) {
59 if (!condition) {
60 throw new Error(message || 'Assertion failed');
61 }
62}
63
64// ── Fixture secrets (synthesized at runtime, never present in this source) ──
65// A seeded generator produces every credential-shaped value so this file

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected