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

Function scriptCore

scripts/github-actions/post-review-comments.test.js:5238–5247  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5236}
5237
5238function scriptCore() {
5239 return {
5240 outputs: {},
5241 warnings: [],
5242 infos: [],
5243 setOutput(name, value) { this.outputs[name] = value; },
5244 info(message) { this.infos.push(message); },
5245 warning(message) { this.warnings.push(message); },
5246 };
5247}
5248
5249// The complete env the resolve step reads, so a test can vary one axis at a
5250// time and know nothing else moved. GITHUB_WORKSPACE is a fresh empty dir:

Calls

no outgoing calls

Tested by

no test coverage detected