MCPcopy Create free account
hub / github.com/EvoMap/evolver / collectCommands

Function collectCommands

test/adapters.test.js:1057–1065  ·  view source on GitHub ↗
(hooks)

Source from the content-addressed store, hash-verified

1055 });
1056
1057 function collectCommands(hooks) {
1058 const commands = [];
1059 for (const matchers of Object.values(hooks.hooks)) {
1060 for (const matcher of matchers) {
1061 for (const hook of matcher.hooks || []) commands.push(hook.command);
1062 }
1063 }
1064 return commands;
1065 }
1066
1067 it('builds absolute, encoded hook commands rooted at configRoot with spaces (#590)', () => {
1068 const tmp = makeTmpDir();

Callers 1

adapters.test.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected