You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I don't know if the current behaviour is the expected behaviour and that my expectation is wrong, or if this is a bug :) , but when I use spit-csv with a custom header (via :header ) and :prepend-header true, I would expect that the written file always gets a header, even if there are no rows.
The current behaviour is that if there are no rows, no header is written even if a :header is given and :prepend-header is true
I can write a workaround in my code, but I wonder if this should be fixed in spit-csv instead?
The text was updated successfully, but these errors were encountered:
Good find! Thanks for reporting. That definitely violates my assumptions about what should happen. There's some new work I need to release that might fix this. If not though, well queue it up for work. Thanks!
Hi,
I don't know if the current behaviour is the expected behaviour and that my expectation is wrong, or if this is a bug :) , but when I use spit-csv with a custom header (via :header ) and :prepend-header true, I would expect that the written file always gets a header, even if there are no rows.
The current behaviour is that if there are no rows, no header is written even if a :header is given and :prepend-header is true
I can write a workaround in my code, but I wonder if this should be fixed in spit-csv instead?
The text was updated successfully, but these errors were encountered: