Skip to content

Commit 2e27d7d

Browse files
committed
Switch from yellow to red for CLI error messages
1 parent 7dc709f commit 2e27d7d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

webdev/bin/webdev.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,19 @@ Future main(List<String> args) async {
1515
try {
1616
exitCode = await run(args);
1717
} on UsageException catch (e) {
18-
print(yellow.wrap(e.message));
18+
print(red.wrap(e.message));
1919
print(' ');
2020
print(e.usage);
2121
exitCode = ExitCode.usage.code;
2222
} on FileSystemException catch (e) {
23-
print(yellow.wrap('$_boldApp could not run in the current directory.'));
23+
print(red.wrap('$_boldApp could not run in the current directory.'));
2424
print(e.message);
2525
if (e.path != null) {
2626
print(' ${e.path}');
2727
}
2828
exitCode = ExitCode.config.code;
2929
} on PackageException catch (e) {
30-
print(yellow.wrap('$_boldApp could not run for this project.'));
30+
print(red.wrap('$_boldApp could not run for this project.'));
3131
for (var detail in e.details) {
3232
print(yellow.wrap(detail.error));
3333
if (detail.description != null) {

0 commit comments

Comments
 (0)