Skip to content

Commit

Permalink
Don't fail when there are no marks/bases
Browse files Browse the repository at this point in the history
  • Loading branch information
simoncozens committed Sep 6, 2023
1 parent ba3898b commit 406476d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions shaperglot/checks/no_orphaned_marks.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ def describe(self):
return f"that, when {self.input.describe()}, no marks are left unattached"

def execute(self, checker):
if not self.input.text:
return
buffer = self.input.shape(checker)
dotted_circle_glyph = checker.cmap.get(0x25CC)

Expand Down

0 comments on commit 406476d

Please sign in to comment.