| Index: pkg/watcher/lib/src/utils.dart
|
| diff --git a/pkg/watcher/lib/src/utils.dart b/pkg/watcher/lib/src/utils.dart
|
| index 163e9f4452ec3d3b53cb683ddbd4e9d75a1d101e..007c84c193f1bea55261659fd91058bf9a9678be 100644
|
| --- a/pkg/watcher/lib/src/utils.dart
|
| +++ b/pkg/watcher/lib/src/utils.dart
|
| @@ -20,7 +20,7 @@ bool isDirectoryNotFoundException(error) {
|
|
|
| /// Returns the union of all elements in each set in [sets].
|
| Set unionAll(Iterable<Set> sets) =>
|
| - sets.fold(new Set(), (union, set) => union.union(set));
|
| + sets.fold(new Set(), (union, set) => union.union(set));
|
|
|
| /// Returns a buffered stream that will emit the same values as the stream
|
| /// returned by [future] once [future] completes.
|
| @@ -76,7 +76,7 @@ Future newFuture(callback()) => new Future.value().then((_) => callback());
|
| /// Returns a [Future] that completes after pumping the event queue [times]
|
| /// times. By default, this should pump the event queue enough times to allow
|
| /// any code to run, as long as it's not waiting on some external event.
|
| -Future pumpEventQueue([int times=20]) {
|
| +Future pumpEventQueue([int times = 20]) {
|
| if (times == 0) return new Future.value();
|
| // We use a delayed future to allow microtask events to finish. The
|
| // Future.value or Future() constructors use scheduleMicrotask themselves and
|
|
|