Skip to content

Commit

Permalink
Merge pull request #11 from getditto/bugfix/search-output-dir-for-out…
Browse files Browse the repository at this point in the history
…put-files

Bugfix: Look for avsc files in output dir after generating
  • Loading branch information
baxterjo authored Sep 11, 2024
2 parents d1b6a6b + 288a835 commit f2fc6b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion interface_gen/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def from_avro_idl(self, output_dir: Path) -> 'Schemas':
sdir = output_dir / version_dir / "schema"
script = toolchain.script_dir().parent / "avro" / "bin" / "avro-idl.sh"
subprocess.check_call([str(script), str(avdl), str(sdir)])
return self.all()
return self.find_in_path(output_dir)

# --> Action methods

Expand Down

0 comments on commit f2fc6b0

Please sign in to comment.