Skip to content

Commit 731484d

Browse files
committed
fix the dartdoc build against the dev sdk
1 parent 66e4cca commit 731484d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/package_meta.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ class _FilePackageMeta extends PackageMeta {
125125
}
126126

127127
File _locate(Directory dir, List<String> fileNames) {
128-
List<File> files = dir.listSync().where((f) => f is File).toList();
128+
List<File> files = new List<File>.from(dir.listSync().where((f) => f is File));
129129

130130
for (String name in fileNames) {
131131
for (File f in files) {

0 commit comments

Comments
 (0)