PierreBeucher / novops

Cross-platform secret & config manager for development and CI environments
https://novops.dev
GNU Lesser General Public License v3.0
158 stars 9 forks source link

fix: truncate file output before writing #96

Closed PierreBeucher closed 4 months ago

PierreBeucher commented 4 months ago

after an initial load of file X, a sub-sequent load of the same file but with shorter content caused parts of the previous file to be kept

For example, a file loaded with content "abcdef", and loaded again with "123" would have content as "123def" as previous file content was not truncated.