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: write content as-is without trailing new lines #104

Merged
merged 3 commits into from
Aug 5, 2024

Conversation

hetangmodi-crest
Copy link
Contributor

Issue: while writing content into files, new lines are added after every stanza and new property of a given stanza.
Fix: After all the things are written, there are 2 extra lines that are added as a part of logic which moves the file seeker 2 places ahead, hence we move back one character and remove the last character.
Test: updated the test case to write the content as is, as it should be written to a file.

@hetangmodi-crest hetangmodi-crest added the bug Something isn't working label Aug 1, 2024
@hetangmodi-crest hetangmodi-crest self-assigned this Aug 1, 2024
@artemrys artemrys requested a review from sgoral-splunk August 1, 2024 13:11
@hetangmodi-crest hetangmodi-crest merged commit 7d2aff9 into main Aug 5, 2024
11 of 12 checks passed
@hetangmodi-crest hetangmodi-crest deleted the fix/content-write branch August 5, 2024 06:43
@github-actions github-actions bot locked and limited conversation to collaborators Aug 5, 2024
@srv-rr-github-token
Copy link
Contributor

🎉 This issue has been resolved in version 0.4.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants