Skip to content

Commit 9e20659

Browse files
committed
Small fix to long resource
1 parent 16f2e79 commit 9e20659

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

glitch/analysis/design.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ def check_atomicunit(self, au: AtomicUnit, file: str) -> list[Error]:
298298

299299
if au.type in DesignVisitor.__EXEC:
300300
lines = 0
301-
for line in au.code.split('\n')[1:-1]:
301+
for line in au.code.split('\n'):
302302
if line.strip() != "": lines += 1
303303

304304
if lines > 7:

0 commit comments

Comments
 (0)