fix(generator): fix leading newline in generated json files

This commit is contained in:
technofab 2025-11-16 20:56:57 +01:00
parent e04b71c074
commit 078034b01e
Signed by: technofab
SSH key fingerprint: SHA256:bV4h88OqS/AxjbPn66uUdvK9JsgIW4tv3vwJQ8tpMqQ
3 changed files with 15 additions and 5 deletions

View file

@ -22,5 +22,14 @@ in
gitignore = true;
};
};
testJson = {
output = "test.json";
data.hello = "world";
opts.format = "json";
hook = {
mode = "copy";
gitignore = true;
};
};
};
}).config