Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(598)

Unified Diff: lib/src/io.dart

Issue 945583004: If no paths are provided, read source from stdin. Fix #165. (Closed) Base URL: https://github.com/dart-lang/dart_style.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « example/format.dart ('k') | test/command_line_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/io.dart
diff --git a/lib/src/io.dart b/lib/src/io.dart
index 10927b1c0ec1048c362049e032c6029333b7fe41..a1f536176094ecf6bfea8a604fda74b274b09bf9 100644
--- a/lib/src/io.dart
+++ b/lib/src/io.dart
@@ -60,8 +60,8 @@ bool processFile(FormatterOptions options, File file,
} on FormatterException catch (err) {
stderr.writeln(err.message());
} catch (err, stack) {
- stderr.writeln('''Hit a bug in the formatter when formatting $label
- Please report at: github.com/dart-lang/dart_style/issues
+ stderr.writeln('''Hit a bug in the formatter when formatting $label.
+Please report at: github.com/dart-lang/dart_style/issues
$err
$stack''');
}
« no previous file with comments | « example/format.dart ('k') | test/command_line_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698