Skip to content
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

Don't write new line when printing outputs #3275

Merged
merged 1 commit into from
Dec 7, 2024

Conversation

lbergnehr
Copy link
Contributor

If the output is a binary format, then newlines can mess that up if directly using the value of the output.

What does this change

Use Fprint instead of the previous Fprintln when printing output value using porter installation output show ....

What issue does it fix

Closes #3274

Checklist

  • Did you write tests?
  • Did you write documentation?
  • Did you change porter.yaml or a storage document record? Update the corresponding schema file.
  • If this is your first pull request, please add your name to the bottom of our Contributors list. Thank you for making Porter better! 🙇‍♀️

If the output is a binary format, then newlines can mess that up if
directly using the value of the output.

Signed-off-by: Leo Bergnéhr <[email protected]>
@kichristensen kichristensen merged commit 61dfc21 into getporter:main Dec 7, 2024
40 checks passed
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.

porter installation output show should not print newline after the output value
3 participants