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

Method addRaw

github-actions/bazel/configure-remote/configure-remote.js:19659–19662  ·  view source on GitHub ↗

* 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)

Source from the content-addressed store, hash-verified

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}`);

Callers 11

addEOLMethod · 0.45
addCodeBlockMethod · 0.45
addListMethod · 0.45
addTableMethod · 0.45
addDetailsMethod · 0.45
addImageMethod · 0.45
addHeadingMethod · 0.45
addSeparatorMethod · 0.45
addBreakMethod · 0.45
addQuoteMethod · 0.45
addLinkMethod · 0.45

Calls 1

addEOLMethod · 0.45

Tested by

no test coverage detected