MCPcopy Create free account
hub / github.com/alibaba/open-code-review / configValues

Function configValues

scripts/github-actions/action-contract.test.js:327–337  ·  view source on GitHub ↗
(calls)

Source from the content-addressed store, hash-verified

325}
326
327function configValues(calls) {
328 const values = {};
329 for (const args of calls) {
330 if (!Array.isArray(args) || args.length < 2) continue;
331 if (args[0] !== "config" || args[1] !== "set") continue;
332 const key = args[2];
333 const value = args[3];
334 if (key) values[key] = value;
335 }
336 return values;
337}
338
339function configOperations(fixture) {
340 return readJsonLines(fixture.configPath);

Calls

no outgoing calls

Tested by

no test coverage detected