Skip to content
Snippets Groups Projects
Commit d0a5744e authored by Natalie Weizenbaum's avatar Natalie Weizenbaum Committed by GitHub
Browse files

Fix an incorrect type annotation. (#1478)

parent 7e7fde12
No related branches found
No related tags found
No related merge requests found
......@@ -694,7 +694,7 @@ class Entrypoint {
// TODO(nweiz): roll this into [listDir] in io.dart once issue 4775 is fixed.
/// Recursively lists the contents of [dir], excluding hidden `.DS_Store`
/// files and `package` files.
List<String> _listDirWithoutPackages(dir) {
Iterable<String> _listDirWithoutPackages(dir) {
return listDir(dir).expand/*<String>*/((file) {
if (p.basename(file) == 'packages') return [];
if (!dirExists(file)) return [];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment