Skip to content

Conversation

johnstcn
Copy link
Member

The make -j output was sometimes emitting non-JSON output from go generate, resulting in errors like the below:

++ /home/coder/src/coder/coder/scripts/coder-dev.sh organizations show me -o json
++ jq -r '.[] | select(.is_default) | .name'
parse error: Invalid numeric literal at line 1, column 3

This PR modifies coder-dev.sh to silence the output of make if the output is not a TTY.

@johnstcn johnstcn requested a review from mafredri January 14, 2025 13:40
@johnstcn johnstcn self-assigned this Jan 14, 2025
@johnstcn johnstcn changed the title fix(scripts/develop.sh): silence output if stdout is not a TTY fix(scripts/coder-dev.sh): silence output if stdout is not a TTY Jan 14, 2025
@johnstcn johnstcn requested a review from dannykopping January 14, 2025 14:31
@johnstcn johnstcn merged commit d7809ec into main Jan 14, 2025
35 checks passed
@johnstcn johnstcn deleted the cj/coder-dev-stdout branch January 14, 2025 14:34
@github-actions github-actions bot locked and limited conversation to collaborators Jan 14, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy