MCPcopy Create free account
hub / github.com/angular/dev-infra / adopt

Function adopt

github-actions/saucelabs/set-saucelabs-env.js:19525–19529  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

19523 var os2 = __toESM(__require("os"));
19524 function issueFileCommand(command, message) {
19525 const filePath = process.env[`GITHUB_${command}`];
19526 if (!filePath) {
19527 throw new Error(`Unable to find environment variable for file command ${command}`);
19528 }
19529 if (!fs.existsSync(filePath)) {
19530 throw new Error(`Missing file at path: ${filePath}`);
19531 }
19532 fs.appendFileSync(filePath, `${toCommandValue(message)}${os2.EOL}`, {

Callers 1

stepFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected