Skip to content

Commit

Permalink
Fix an incorrect type annotation. (#1478)
Browse files Browse the repository at this point in the history
  • Loading branch information
nex3 committed Dec 1, 2016
1 parent 7e7fde1 commit d0a5744
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/entrypoint.dart
Expand Up @@ -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 [];
Expand Down

0 comments on commit d0a5744

Please sign in to comment.