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

Function scriptCore

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

Source from the content-addressed store, hash-verified

4163}
4164
4165function scriptCore() {
4166 return {
4167 outputs: {},
4168 warnings: [],
4169 infos: [],
4170 setOutput(name, value) { this.outputs[name] = value; },
4171 info(message) { this.infos.push(message); },
4172 warning(message) { this.warnings.push(message); },
4173 };
4174}
4175
4176// The complete env the resolve step reads, so a test can vary one axis at a
4177// time and know nothing else moved. GITHUB_WORKSPACE is a fresh empty dir:

Calls

no outgoing calls

Tested by

no test coverage detected