Commit a29ff3d
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 3487774 commit a29ff3d
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1265 | 1265 | | |
1266 | 1266 | | |
1267 | 1267 | | |
| 1268 | + | |
1268 | 1269 | | |
1269 | | - | |
| 1270 | + | |
1270 | 1271 | | |
1271 | 1272 | | |
1272 | 1273 | | |
| |||
0 commit comments