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

Function configValues

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

Source from the content-addressed store, hash-verified

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

Calls

no outgoing calls

Tested by

no test coverage detected