Skip to content

fix: Remove trailing newlines from yaml arrays#73

Merged
gmpinder merged 2 commits into
blue-build:mainfrom
fiftydinar:readarray-t
Feb 20, 2024
Merged

fix: Remove trailing newlines from yaml arrays#73
gmpinder merged 2 commits into
blue-build:mainfrom
fiftydinar:readarray-t

Conversation

@fiftydinar
Copy link
Copy Markdown
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
@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