Skip to content

Commit

Permalink
Fix a new lint (#752)
Browse files Browse the repository at this point in the history
  • Loading branch information
nex3 authored Jul 3, 2019
1 parent 60af5f6 commit b7999e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/io/vm.dart
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ void ensureDir(String path) => io.Directory(path).createSync(recursive: true);
Iterable<String> listDir(String path, {bool recursive = false}) =>
io.Directory(path)
.listSync(recursive: recursive)
.where((entity) => entity is io.File)
.whereType<io.File>()
.map((entity) => entity.path);

DateTime modificationTime(String path) {
Expand Down

0 comments on commit b7999e4

Please sign in to comment.