Skip to content

fix: quote output of init command and args to prevent multiline log#378

Merged
mafredri merged 1 commit intomainfrom
mafredri/prettier-init-log
Oct 1, 2024
Merged

fix: quote output of init command and args to prevent multiline log#378
mafredri merged 1 commit intomainfrom
mafredri/prettier-init-log

Conversation

@mafredri
Copy link
Copy Markdown
Member

Before:

=== Running the init command /usr/bin/echo [abra
cadabra
] as the "coder" user...
abra
cadabra

After:

=== Running init command as user "coder": ["/usr/bin/echo" "abra\ncadabra\n"]
abra
cadabra

Refs coder/coder#14882

Copy link
Copy Markdown
Member

@mtojek mtojek left a comment

Choose a reason for hiding this comment

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

I know you can't go without my approval :)

@mafredri mafredri merged commit a9cb987 into main Oct 1, 2024
@mafredri mafredri deleted the mafredri/prettier-init-log branch October 1, 2024 08:12
mafredri added a commit that referenced this pull request Oct 2, 2024
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.

4 participants