Skip to content

Commit

Permalink
Merge pull request #8 from AdamWill/exit-1-on-diff
Browse files Browse the repository at this point in the history
exit 1 on diff, as well as missing
  • Loading branch information
tagoh authored Aug 5, 2024
2 parents 4cdfa97 + 1ea005d commit 7b00cf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fontquery/htmlformatter.py
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ def generate_diff(renderer: DataRenderer, title: str, data: dict[str, Any],
renderer.imagedifftype = diffdata['pattern']

yield from renderer.render_diff(langdata, missing_a, missing_b, langdiffdata)
yield True if not missing_a and not missing_b else False
yield True if not missing_a and not missing_b and not langdiffdata else False

def run(mode, in1, in2, out, renderer, title):
data = None
Expand Down

0 comments on commit 7b00cf5

Please sign in to comment.