We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
log()
1 parent 003924a commit e414c47Copy full SHA for e414c47
1 file changed
lib/index.js
@@ -27,9 +27,9 @@ async function runForPath(path, options = {}) {
27
transform(path);
28
} catch (error) {
29
if (error instanceof SilentError) {
30
- console.log(chalk.yellow(`${chalk.dim(path)}: ${error.message}`));
+ log(chalk.yellow(`${chalk.dim(path)}: ${error.message}`));
31
} else {
32
- console.log(chalk.red(`${chalk.dim(path)}: ${error.stack}`));
+ log(chalk.red(`${chalk.dim(path)}: ${error.stack}`));
33
}
34
35
0 commit comments