From 0836afdc9769de96dc23e4c6c21c9ee06857b42b Mon Sep 17 00:00:00 2001 From: Natalie Weizenbaum Date: Wed, 13 Jun 2018 14:11:07 -0700 Subject: [PATCH] Avoid Future because it's not Dart 1-compatible --- lib/src/util/multi_dir_watcher.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/util/multi_dir_watcher.dart b/lib/src/util/multi_dir_watcher.dart index c8331c8a..d5600496 100644 --- a/lib/src/util/multi_dir_watcher.dart +++ b/lib/src/util/multi_dir_watcher.dart @@ -28,7 +28,7 @@ class MultiDirWatcher { /// /// Returns a [Future] that completes when [events] is ready to emit events /// from [directory]. - Future watch(String directory) { + Future watch(String directory) { var isParentOfExistingDir = false; for (var existingDir in _watchers.keys.toList()) { if (!isParentOfExistingDir &&