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

Don't generate extra newline when having zero signatures #48

Merged
merged 1 commit into from
May 17, 2023

Conversation

wentasah
Copy link
Contributor

When $sigs is defined but it is an array with zero elements, an extra newline is added to the response, making nix complain about corrupted narinfo file. With this change, no extra newline is added.

When $sigs is defined but it is an array with zero elements, an extra
newline is added to the response, making nix complain about corrupted
narinfo file. With this change, no extra newline is added.
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