| Index: tools/line_doc_comments.dart
|
| diff --git a/tools/line_doc_comments.dart b/tools/line_doc_comments.dart
|
| index 52723963ced1cb1a57172a25063e02e4dffdfaca..1e6917fd0c0ede1cb0b0763efc106712ca8af6f7 100755
|
| --- a/tools/line_doc_comments.dart
|
| +++ b/tools/line_doc_comments.dart
|
| @@ -2,6 +2,7 @@
|
|
|
| /// Converts block-style Doc comments in Dart code to line style.
|
| library line_doc_comments;
|
| +
|
| import 'dart:io';
|
|
|
| import '../pkg/path/lib/path.dart' as path;
|
| @@ -21,14 +22,13 @@ main(List<String> args) {
|
| }
|
|
|
| var dir = new Directory(args[0]);
|
| - dir.list(recursive: true, followLinks: false).listen(
|
| - (entity) {
|
| - if (entity is File) {
|
| - var file = entity.path;
|
| - if (path.extension(file) != '.dart') return;
|
| - fixFile(file);
|
| - }
|
| - });
|
| + dir.list(recursive: true, followLinks: false).listen((entity) {
|
| + if (entity is File) {
|
| + var file = entity.path;
|
| + if (path.extension(file) != '.dart') return;
|
| + fixFile(file);
|
| + }
|
| + });
|
| }
|
|
|
| void fixFile(String path) {
|
|
|