* Logs the list of files that will be checked and returns the list. * * @param {!Array } files * @return {!Array }
(files)
| 62 | * @return {!Array<string>} |
| 63 | */ |
| 64 | function 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 |
no test coverage detected