MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / assert

Function assert

scripts/agent-config-smoke.ts:41–43  ·  view source on GitHub ↗
(condition: unknown, message: string)

Source from the content-addressed store, hash-verified

39};
40
41const assert = (condition: unknown, message: string): asserts condition => {
42 if (!condition) throw new Error(message);
43};
44
45const runCli = async (
46 ctx: CliContext,

Callers 7

parseJsonOutputFunction · 0.85
toolDataFunction · 0.85
extractExecutionIdFunction · 0.85
firstScopeFunction · 0.85
createSecretPlaceholderFunction · 0.85
runSmokeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected