Skip to content

Commit 84af8a3

Browse files
fix: stop looking at dart_tool dir
1 parent 8552905 commit 84af8a3

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

configurator/bin/file_utils.dart

+8-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,14 @@ class FileUtils {
3535
queue.add(rootDirectory);
3636

3737
do {
38-
final dirList = queue.removeFirst().listSync(recursive: false);
38+
final entry = queue.removeFirst();
39+
40+
if (entry.path.contains('dart_tool/')) {
41+
continue;
42+
}
43+
44+
final dirList = entry.listSync(recursive: false);
45+
3946
for (final FileSystemEntity entity in dirList) {
4047
if (entity is File && ( extension.isEmpty || entity.path.contains( extension ) ) ) {
4148
result.add(entity);

configurator/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: configurator
22
description: A new Flutter package project.
3-
version: 1.0.4
3+
version: 1.0.5
44
homepage:
55

66
environment:

configurator_flutter/pubspec.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: configurator_flutter
22
description: A new Flutter package project.
3-
version: 1.0.4
3+
version: 1.0.5
44
homepage:
55

66
environment:
@@ -31,7 +31,7 @@ dependencies:
3131
git:
3232
url: [email protected]:camrongiuliani/configurator.git
3333
path: configurator
34-
ref: 1.0.4
34+
ref: 1.0.5
3535

3636
dev_dependencies:
3737
flutter_test:

0 commit comments

Comments
 (0)