Skip to content

build-script: fix trailing newlines in --preset-vars-file #78270

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 1 commit into from
Dec 18, 2024

Conversation

MaxDesiatov
Copy link
Contributor

@MaxDesiatov MaxDesiatov commented Dec 18, 2024

Currently, usage of --preset-vars-file (added in #76058) introduces newlines in values of preset variables passed via this file. Calling strip() will remove trailing and preceding whitespace characters, including newlines.

Currently, usage of `--preset-vars-file` introduces newlines in values of preset variables passed via this file. Calling `strip()` will remove trailing and preceding whitespace characters, including newlines.
@MaxDesiatov
Copy link
Contributor Author

@swift-ci smoke test

@MaxDesiatov MaxDesiatov added bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. build-script Area → utils: The build script labels Dec 18, 2024
@MaxDesiatov MaxDesiatov enabled auto-merge (squash) December 18, 2024 15:59
@MaxDesiatov MaxDesiatov disabled auto-merge December 18, 2024 16:00
@MaxDesiatov MaxDesiatov enabled auto-merge (squash) December 18, 2024 16:00
@MaxDesiatov MaxDesiatov merged commit 6c8b958 into main Dec 18, 2024
3 checks passed
@MaxDesiatov MaxDesiatov deleted the maxd/fix-preset-vars-newlines branch December 18, 2024 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. build-script Area → utils: The build script
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant