MCPcopy
hub / github.com/ampproject/amphtml / red

Function red

build-system/common/check-package-manager.js:55–57  ·  view source on GitHub ↗

* Formats the text to appear red * * @param {*} text * @return {string}

(text)

Source from the content-addressed store, hash-verified

53 * @return {string}
54 */
55function red(text) {
56 return '\x1b[31m' + text + '\x1b[0m';
57}
58/**
59 * Formats the text to appear cyan
60 *

Callers 15

runTaskFunction · 0.85
handleInvalidTaskErrorFunction · 0.85
validateUsageFunction · 0.85
finalizeRunnerFunction · 0.85
verifyBundle_Function · 0.85
runReleaseJobFunction · 0.85
updateBranchFunction · 0.85
cutNightlyBranchFunction · 0.85
runCiJobFunction · 0.85
runCheckFunction · 0.85
summarizeResultsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected