Skip to content

fix: Print postgres-builtin-url to stdout without formatting #3727

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 29, 2022

Conversation

mafredri
Copy link
Member

@mafredri mafredri commented Aug 29, 2022

This allows use-cases like eval $(coder server postgres-builtin-url).

(Previously went to stderr with formatting, resulting in use-case looking like this: eval $(coder server postgres-builtin-url 2>&1 | sed "s,\x1B\[[0-9;]*[a-zA-Z],,g").)

This allows use-cases like `eval $(coder server postgres-builtin-url)`.
@mafredri mafredri self-assigned this Aug 29, 2022
@mafredri mafredri requested a review from a team August 29, 2022 11:24
Copy link
Member

@johnstcn johnstcn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@mafredri mafredri changed the title fix: postgres-builtin-url to stdout without formatting fix: Print postgres-builtin-url to stdout without formatting Aug 29, 2022
@mafredri mafredri enabled auto-merge (squash) August 29, 2022 11:26
@mafredri mafredri disabled auto-merge August 29, 2022 11:27
@mafredri mafredri enabled auto-merge (squash) August 29, 2022 11:28
@mafredri mafredri merged commit f4c5020 into main Aug 29, 2022
@mafredri mafredri deleted the mafredri/fix-coder-pg-builtin-url branch August 29, 2022 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants