mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 19:21:50 +00:00
Closes DINF-78 The output of `sg gen` is a bit hard to read when there's an error, this is because the new line character `\n` isn't rendered as a new line. It turns out the `%q` formatting directive used to quote a string doesn't render the `\n` character as a new line. | Before | |---| |  | | After | |---| |  | I also added a func to extract error messages from a bazel command to avoid long output message when a bazel command fails and give the user relevant messages related to the error. | Before | |---| https://github.com/user-attachments/assets/2d029ec1-5804-41bf-a675-8642e169ea80 | After | |---| |  | ## Test plan <!-- REQUIRED; info at https://docs-legacy.sourcegraph.com/dev/background-information/testing_principles --> * Manual testing ## Changelog <!-- OPTIONAL; info at https://www.notion.so/sourcegraph/Writing-a-changelog-entry-dd997f411d524caabf0d8d38a24a878c --> |
||
|---|---|---|
| .. | ||
| analytics | ||
| background | ||
| backport | ||
| bk | ||
| category | ||
| check | ||
| cloud | ||
| db | ||
| docker | ||
| execute | ||
| generate | ||
| images | ||
| migration | ||
| open | ||
| release | ||
| repo | ||
| rfc | ||
| run | ||
| secrets | ||
| sgconf | ||
| slack | ||
| std | ||
| usershell | ||
| wolfi | ||