Closed c4710n closed 4 months ago
I have this issue when I'm using builtins.readFile
to read my pub files and my editor adds a newline to the .pub
files. Minor, but would be great if this was fixed.
This should have been resolved by https://github.com/ryantm/agenix/pull/256.
This PR improves keys function to make it more robust.
Sometimes, keys contains "\n" at the tail of themselves. In that case,
keys
function will return content like:When other functions use the result of
keys
function, it may leads errors. Let's say here, it will build bad arguments:which will lead an error:
This PR uses gnused to remove the empty lines in the list of keys, which make it more robust.