Skip to content

Commit 0e5d1c8

Browse files
committed
Fix check_output for py37
1 parent f8a3d19 commit 0e5d1c8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/check_output.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,8 @@ def run_pyright(path: Path) -> None:
177177
else:
178178
return
179179
finally:
180-
config_path.unlink(missing_ok=True)
180+
if config_path.exists():
181+
config_path.unlink()
181182

182183
temp_path = Path(f.name)
183184
output = temp_path.read_text()

0 commit comments

Comments
 (0)