squattingmonk/nasher

When Float is without decimals, it generates a conversion error.

julien-lecomte opened this issue · 1 comments

When filtering json through "jq", integer floats (0.0, 1.0, ...) are converted to integers without decimals (0, 1, ...)

This blocks the packing of the module with an error as Error: Could not convert src/ux/areas.tpl/area_technical.git.json to area_technical.git: {"type":"float","value":0}

This error could be ignorable by being tolerant and treating int as float: 0 as 0.0, etc...

I agree this should be changed. However, the actual conversion is done by neverwinter.nim, so this issue needs to be opened there.