(strings, ...values)
| 33 | // Helper to format template strings with color |
| 34 | // Blue text with reset color for interpolated values |
| 35 | warnString (strings, ...values) { |
| 36 | const chalk = this.npm.chalk |
| 37 | const message = strings.reduce((result, str, i) => { |
| 38 | return result + chalk.blue(str) + (values[i] ? chalk.reset(values[i]) : '') |
| 39 | }, '') |
| 40 | return message |
| 41 | } |
| 42 | |
| 43 | // Log a warning message with blue formatting |
| 44 | warn (strings, ...values) { |