Commit 2e424ac
Fix shutil.which error message showing None instead of original path
The walrus operator reassigned cli_path to None before the f-string
was evaluated, losing the original path value in the error message.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 162a551 commit 2e424ac
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1269 | 1269 | | |
1270 | 1270 | | |
1271 | 1271 | | |
| 1272 | + | |
1272 | 1273 | | |
1273 | | - | |
| 1274 | + | |
1274 | 1275 | | |
1275 | 1276 | | |
1276 | 1277 | | |
| |||
0 commit comments