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

Function configValues

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

Source from the content-addressed store, hash-verified

304}
305
306function configValues(calls) {
307 const values = {};
308 for (const args of calls) {
309 if (!Array.isArray(args) || args.length < 2) continue;
310 if (args[0] !== "config" || args[1] !== "set") continue;
311 const key = args[2];
312 const value = args[3];
313 if (key) values[key] = value;
314 }
315 return values;
316}
317
318function configOperations(fixture) {
319 return readJsonLines(fixture.configPath);

Calls

no outgoing calls

Tested by

no test coverage detected