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

Bug: Multiple lines on strip prefix #105

Merged

Conversation

LunarPayload
Copy link
Contributor

Summary

There is a bug in v1.10.1 that causes multiple lines to be returned if the user has passed the --strip-prefix flag. This will break CI/CD in downstream projects.

Not sure if its what you envisioned but adding a simple return after the fmt.println() in the prefix if statement should resolve the issue.

Testing

All testing was done locally:
Prior to fix:

$ svu --strip-prefix
0.1.0
v0.1.0

Post fix:

$ svu --strip-prefix
0.1.0

@caarlos0 caarlos0 merged commit a9b67e4 into caarlos0:main Mar 14, 2023
@caarlos0
Copy link
Owner

Ouch, good catch! Will release later, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants