Files
swift-mirror/utils
Max Desiatov c9e633cc5a swift_build_support: fix shell.run bytes printing (#68373)
* swift_build_support: fix `shell.run` bytes printing

`output.splitlines()` returns a value of `bytes` type, not `str`, which leads to `b` prefixed to it when printing.

This led to broken output when running `update-checkout`. Before:

```
[swiftpm]                               b"Already on 'main'"
```

After:

```
[swiftpm]                               Already on 'main'
```

* swift_build_support/shell.py: use `errors='replace'` in `decode`
2023-09-19 09:25:59 +01:00
..
2022-09-15 19:43:37 -04:00
2022-09-24 20:58:28 +02:00
2023-06-13 14:13:43 -07:00
2022-09-15 19:43:36 -04:00
2022-03-28 12:29:39 -07:00
2023-04-04 12:01:50 -07:00
2023-07-25 15:24:54 -07:00
2022-09-15 19:43:36 -04:00
2022-09-15 19:43:36 -04:00