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

Function scriptCore

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

Source from the content-addressed store, hash-verified

5072}
5073
5074function scriptCore() {
5075 return {
5076 outputs: {},
5077 warnings: [],
5078 infos: [],
5079 setOutput(name, value) { this.outputs[name] = value; },
5080 info(message) { this.infos.push(message); },
5081 warning(message) { this.warnings.push(message); },
5082 };
5083}
5084
5085// The complete env the resolve step reads, so a test can vary one axis at a
5086// time and know nothing else moved. GITHUB_WORKSPACE is a fresh empty dir:

Calls

no outgoing calls

Tested by

no test coverage detected