Commit 70985e5
fix: gate shell_escape and pelagos_cmd mut on cfg(target_os = "macos")
Clippy on Linux flagged unused-mut in pelagos_cmd (cmd is only mutated
in the macos branch) and dead-code on shell_escape (only called in the
macos branch of open_in_terminal). Restructure both to use cfg blocks.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 3a02324 commit 70985e5
1 file changed
Lines changed: 10 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
395 | 395 | | |
396 | 396 | | |
397 | 397 | | |
398 | | - | |
399 | 398 | | |
400 | | - | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
401 | 404 | | |
402 | | - | |
403 | | - | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
404 | 409 | | |
405 | 410 | | |
406 | 411 | | |
| |||
928 | 933 | | |
929 | 934 | | |
930 | 935 | | |
| 936 | + | |
931 | 937 | | |
932 | 938 | | |
933 | 939 | | |
| |||
0 commit comments