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

fix: Remove trailing newlines from yaml arrays #73

Merged
merged 2 commits into from
Feb 20, 2024
Merged

fix: Remove trailing newlines from yaml arrays #73

merged 2 commits into from
Feb 20, 2024

Conversation

fiftydinar
Copy link
Contributor

Trailing newlines is something that we will never need as an information, so it can only cause issues with parsing yaml values.

I scratched my head for 10 minutes on why my variable has a trailing newline when I use readarray -t everywhere. Then I remembered get_yaml_array function.

This should not affect current working modules at all, but it would be good to test before landing.

Trailing newlines is something that we will never need as an information, so it can only cause issues with parsing yaml values.

I scratched my head for 10 minutes on why my variable has a trailing newline when I use `readarray -t` everywhere. Then I remembered get_yaml_array function.

This should not affect current working modules at all, but it would be good to test before landing.
@fiftydinar fiftydinar requested a review from gmpinder as a code owner February 19, 2024 22:37
@gmpinder gmpinder enabled auto-merge (squash) February 20, 2024 01:52
@gmpinder gmpinder merged commit 411e782 into blue-build:main Feb 20, 2024
1 check passed
@fiftydinar fiftydinar deleted the readarray-t branch February 20, 2024 07:11
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