mirror of
https://github.com/danog/dart-sass.git
synced 2024-11-27 04:34:59 +01:00
Avoid Future<void> because it's not Dart 1-compatible
This commit is contained in:
parent
1942466924
commit
0836afdc97
@ -28,7 +28,7 @@ class MultiDirWatcher {
|
||||
///
|
||||
/// Returns a [Future] that completes when [events] is ready to emit events
|
||||
/// from [directory].
|
||||
Future<void> watch(String directory) {
|
||||
Future watch(String directory) {
|
||||
var isParentOfExistingDir = false;
|
||||
for (var existingDir in _watchers.keys.toList()) {
|
||||
if (!isParentOfExistingDir &&
|
||||
|
Loading…
Reference in New Issue
Block a user