Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
Rexios80 committed Nov 5, 2024
1 parent 8893735 commit 26381be
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class SchemaMigratorBuilder implements Builder {
Future<void> build(BuildStep buildStep) async {
final hiveTypes = <AnnotatedElement>[];
await for (final input in buildStep.findAssets(Glob('**/*.dart'))) {
if (!await buildStep.resolver.isLibrary(input)) return;
if (!await buildStep.resolver.isLibrary(input)) continue;
final library = await buildStep.resolver.libraryFor(input);
final hiveTypeElements = LibraryReader(library)
.annotatedWith(TypeChecker.fromRuntime(HiveType));
Expand Down

0 comments on commit 26381be

Please sign in to comment.