* @param {Array } paths
(paths)
| 142 | * @param {Array<string>} paths |
| 143 | */ |
| 144 | function printSuccessMessage(paths) { |
| 145 | // eslint-disable-next-line no-console |
| 146 | console.log(` |
| 147 | ${colors.green('Worker script successfully copied!')} |
| 148 | ${paths.map((path) => colors.gray(` - ${path}\n`))} |
| 149 | Continue by describing the network in your application: |
| 150 | |
| 151 | |
| 152 | ${colors.red(colors.bold('https://mswjs.io/docs/quick-start'))} |
| 153 | `) |
| 154 | } |
| 155 | |
| 156 | function printFailureMessage(pathsWithErrors) { |
| 157 | // eslint-disable-next-line no-console |