Skip to content

Commit db15d0f

Browse files
committed
fixup! support for system ruff executable
1 parent d9993ae commit db15d0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pylsp_ruff/plugin.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@ def run_ruff(
560560
(stdout, stderr) = p.communicate(document_source.encode())
561561

562562
if p.returncode != 0:
563-
log.error(f"Ruff returned != 0")
563+
log.error(f"Ruff returned {p.returncode} != 0")
564564

565565
return stdout.decode()
566566

0 commit comments

Comments
 (0)