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.
1 parent ed52338 commit ee5f509Copy full SHA for ee5f509
pkg/web_css/test/file_use_test.dart
@@ -20,8 +20,7 @@ void main() {
20
21
final files = await Directory('lib')
22
.list(recursive: true)
23
- .where((f) => f is File && f.path.endsWith('.scss'))
24
- .cast<File>()
+ .whereType<File>().where((f) => f.path.endsWith('.scss'))
25
.map((f) => p.relative(f.path, from: 'lib'))
26
.map((n) => n.substring(0, n.length - 5)) // without the .scss extension
27
.toSet();
0 commit comments