mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-12 03:05:12 +00:00
fix a cmd-f/cmd-r mistake
This commit is contained in:
@@ -103,7 +103,7 @@ prog.command('dev')
|
||||
console.log(colors.bold().red(`✗ ${event.type}`));
|
||||
|
||||
event.errors.filter(e => !e.duplicate).forEach(error => {
|
||||
if (error.file) console.log(colors.bold()(error.file));
|
||||
if (error.file) console.log(colors.bold(error.file));
|
||||
console.log(error.message);
|
||||
});
|
||||
|
||||
@@ -115,7 +115,7 @@ prog.command('dev')
|
||||
console.log(colors.bold().yellow(`• ${event.type}`));
|
||||
|
||||
event.warnings.filter(e => !e.duplicate).forEach(warning => {
|
||||
if (warning.file) console.log(colors.bold()(warning.file));
|
||||
if (warning.file) console.log(colors.bold(warning.file));
|
||||
console.log(warning.message);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user