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

Method addCodeBlock

github-actions/browserstack/set-browserstack-env.js:19676–19680  ·  view source on GitHub ↗

* Adds an HTML codeblock to the summary buffer * * @param {string} code content to render within fenced code block * @param {string} lang (optional) language to syntax highlight code * * @returns {Summary} summary instance

(code, lang)

Source from the content-addressed store, hash-verified

19674 };
19675 module.exports.buildConnector = buildConnector;
19676 module.exports.errors = errors;
19677 module.exports.util = {
19678 parseHeaders: util.parseHeaders,
19679 headerNameToString: util.headerNameToString
19680 };
19681 function makeDispatcher(fn) {
19682 return (url, opts, handler) => {
19683 if (typeof opts === "function") {

Callers

nothing calls this directly

Calls 3

wrapMethod · 0.45
addEOLMethod · 0.45
addRawMethod · 0.45

Tested by

no test coverage detected