MCPcopy
hub / github.com/formatjs/formatjs / setOutput

Function setOutput

tools/release-please/run.ts:31–37  ·  view source on GitHub ↗
(key: string, value)

Source from the content-addressed store, hash-verified

29}
30
31function setOutput(key: string, value) {
32 if (process.env.GITHUB_OUTPUT) {
33 appendFileSync(process.env.GITHUB_OUTPUT, githubOutputRecord(key, value))
34 } else {
35 process.stdout.write(githubOutputRecord(key, value))
36 }
37}
38
39function setPathOutput(path: string, key: string, value) {
40 setOutput(path === '.' ? key : `${path}--${key}`, value)

Callers 3

setPathOutputFunction · 0.85
outputReleasesFunction · 0.85
outputPullRequestsFunction · 0.85

Calls 1

githubOutputRecordFunction · 0.90

Tested by

no test coverage detected