Skip to content

Commit

Permalink
make separate schema compiling really work
Browse files Browse the repository at this point in the history
  • Loading branch information
Dieken committed Aug 12, 2021
1 parent cc1c6f0 commit 08153e8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ void compileSingleFile(Path filePath,
// allow them to share a single schema so reuse and sharing of schema
// is possible.
try {
if (options.imports == null) {
if (options.imports == AvroOptions.EMPTY) {
schema = new Schema.Parser().parse(file);
} else {
schema = schemaParser.parse(file);
Expand Down

0 comments on commit 08153e8

Please sign in to comment.