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

Treat quoted empty string as an empty string #569

Merged
merged 1 commit into from
Oct 29, 2023
Merged

Treat quoted empty string as an empty string #569

merged 1 commit into from
Oct 29, 2023

Conversation

HadrienG2
Copy link
Contributor

In #566 , I forgot that when cargo semver-checks is not invoked via a shell (as in, say, cargo-semver-checks-action), it is our job to treat empty quoted strings like empty strings.

@HadrienG2 HadrienG2 marked this pull request as ready for review October 23, 2023 05:56
@obi1kenobi
Copy link
Owner

Interesting, I missed this as well. Would you mind adding a test case that exercises this new code path? Otherwise, I worry that we might miss it again in the future and break it without noticing.

@HadrienG2
Copy link
Contributor Author

I modified the unit test that I added last time to test both configurations.

@obi1kenobi obi1kenobi merged commit f9d0e46 into obi1kenobi:main Oct 29, 2023
32 checks passed
@obi1kenobi
Copy link
Owner

Queued up a release with this in #572. Thanks!

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