Skip to content

Commit 0ce669d

Browse files
committed
Fix syntax checking of single files.
1 parent e1c8335 commit 0ce669d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

syntax/check.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ def main():
237237

238238
for path in args.path:
239239
if os.path.isfile(path):
240-
result = check_and_report_result(args.file, args.syntax, args.stop_on_error, args.quiet, args.verbose)
240+
result = check_and_report_result(path, args.syntax, args.stop_on_error, args.quiet, args.verbose)
241241
all_fine = all_fine and result
242242
elif os.path.isdir(path):
243243
if args.recursive:

0 commit comments

Comments
 (0)