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

Function scriptCore

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

Source from the content-addressed store, hash-verified

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

Calls

no outgoing calls

Tested by

no test coverage detected