* Adds raw text to the summary buffer * * @param {string} text content to add * @param {boolean} [addEOL=false] (optional) append an EOL to the raw text (default: false) * * @returns {Summary} summary instance
(text, addEOL = false)
| 19657 | var fs = __toESM(__require("fs")); |
| 19658 | var os2 = __toESM(__require("os")); |
| 19659 | function issueFileCommand(command, message) { |
| 19660 | const filePath = process.env[`GITHUB_${command}`]; |
| 19661 | if (!filePath) { |
| 19662 | throw new Error(`Unable to find environment variable for file command ${command}`); |
| 19663 | } |
| 19664 | if (!fs.existsSync(filePath)) { |
| 19665 | throw new Error(`Missing file at path: ${filePath}`); |
no test coverage detected