Skip to content

Commit ccdb93a

Browse files
committed
Fix variable typo in error message.
1 parent 448e36a commit ccdb93a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zulint/lister.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def get_ftype(fpath: str, use_shebang: bool) -> str:
3434
return "" # do not lint these scripts.
3535
if re.search(r"^#!", first_line):
3636
print(
37-
f'Error: Unknown shebang in file "{path}":\n{first_line}',
37+
f'Error: Unknown shebang in file "{fpath}":\n{first_line}',
3838
file=sys.stderr,
3939
)
4040
return ""

0 commit comments

Comments
 (0)