Commit ce43742
Claude DevOps Engineer
Replace String::from_utf8().unwrap() with from_utf8_lossy()
Prevent panics on non-UTF-8 stderr output in invoke_script() (macOS)
and run_command() (Linux) by using String::from_utf8_lossy() which
replaces invalid sequences with the Unicode replacement character.
Closes #191 parent 2020c76 commit ce43742
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
0 commit comments