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

Function configValues

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

Source from the content-addressed store, hash-verified

316}
317
318function configValues(calls) {
319 const values = {};
320 for (const args of calls) {
321 if (!Array.isArray(args) || args.length < 2) continue;
322 if (args[0] !== "config" || args[1] !== "set") continue;
323 const key = args[2];
324 const value = args[3];
325 if (key) values[key] = value;
326 }
327 return values;
328}
329
330function configOperations(fixture) {
331 return readJsonLines(fixture.configPath);

Calls

no outgoing calls

Tested by

no test coverage detected