Skip to content

Commit 3974063

Browse files
kaspersvginsbach
andauthored
Update config/add-overlay-annotations.py
Co-authored-by: Philip Ginsbach <[email protected]>
1 parent 9572739 commit 3974063

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/add-overlay-annotations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def has_overlay_annotations(lines):
2424
'''
2525
overlays = ["local", "local?", "global", "caller"]
2626
annotations = [f"overlay[{t}]" for t in overlays]
27-
return any(any(ann in line for ann in annotations) for line in lines)
27+
return any(ann in line for ann in annotations for line in lines)
2828

2929

3030
def insert_toplevel_maybe_local_annotation(filename, lines):

0 commit comments

Comments
 (0)