Skip to content

Commit

Permalink
probable fix for cycles on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
2ZeroSix committed Feb 3, 2022
1 parent ddc58dd commit 47bb026
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/package.dart
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ class Package {
return Ignore.listFiles(
beneath: beneath,
listDir: (dir) {
var contents = Directory(resolve(dir)).listSync();
var contents = Directory(resolve(dir)).listSync(recursive: true);
if (!recursive) {
contents = contents.where((entity) => entity is! Directory).toList();
}
Expand Down

0 comments on commit 47bb026

Please sign in to comment.