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

Function yellow

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

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

(text)

Source from the content-addressed store, hash-verified

80 * @return {string}
81 */
82function yellow(text) {
83 return '\x1b[33m' + text + '\x1b[0m';
84}
85
86/**
87 * If yarn is being run, print a message and cause 'yarn install' to fail.

Callers 15

babel.config.jsFile · 0.85
installAmpTaskRunnerFunction · 0.85
cutNightlyBranchFunction · 0.85
printChangeSummaryFunction · 0.85
runLinterFunction · 0.85
summarizeResultsFunction · 0.85
hasForbiddenTermsFunction · 0.85
presubmitFunction · 0.85
depCheckFunction · 0.85
cleanFunction · 0.85
reportResultsFunction · 0.85
checkLinksInFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected