MCPcopy Index your code
hub / github.com/ampproject/amphtml / logFiles

Function logFiles

build-system/common/utils.js:64–70  ·  view source on GitHub ↗

* Logs the list of files that will be checked and returns the list. * * @param {!Array } files * @return {!Array }

(files)

Source from the content-addressed store, hash-verified

62 * @return {!Array<string>}
63 */
64function logFiles(files) {
65 logLocalDev(green('INFO: ') + 'Checking the following files:');
66 for (const file of files) {
67 logLocalDev(cyan(file));
68 }
69 return files;
70}
71
72/**
73 * Extracts the list of files from argv.files. Throws an error if no matching

Callers 1

getFilesToCheckFunction · 0.85

Calls 3

logLocalDevFunction · 0.85
greenFunction · 0.85
cyanFunction · 0.85

Tested by

no test coverage detected