We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3c74257 + 27f311a commit a441b9fCopy full SHA for a441b9f
pkgs/coverage/bin/format_coverage.dart
@@ -224,7 +224,8 @@ List<File> filesToProcess(String absPath) {
224
if (FileSystemEntity.isDirectorySync(absPath)) {
225
return new Directory(absPath)
226
.listSync(recursive: true)
227
- .where((e) => e is File && filePattern.hasMatch(p.basename(e.path)))
+ .whereType<File>()
228
+ .where((e) => filePattern.hasMatch(p.basename(e.path)))
229
.toList();
230
}
231
return <File>[new File(absPath)];
0 commit comments