| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 library dart_style.src.io; | 5 library dart_style.src.io; |
| 6 | 6 |
| 7 import 'dart:io'; | 7 import 'dart:io'; |
| 8 | 8 |
| 9 import 'package:path/path.dart' as p; | 9 import 'package:path/path.dart' as p; |
| 10 | 10 |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 stderr.writeln(err.message(color: color)); | 65 stderr.writeln(err.message(color: color)); |
| 66 } catch (err, stack) { | 66 } catch (err, stack) { |
| 67 stderr.writeln('''Hit a bug in the formatter when formatting $label. | 67 stderr.writeln('''Hit a bug in the formatter when formatting $label. |
| 68 Please report at: github.com/dart-lang/dart_style/issues | 68 Please report at: github.com/dart-lang/dart_style/issues |
| 69 $err | 69 $err |
| 70 $stack'''); | 70 $stack'''); |
| 71 } | 71 } |
| 72 | 72 |
| 73 return false; | 73 return false; |
| 74 } | 74 } |
| OLD | NEW |