mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-01-02 18:39:05 +01:00
4907552379
json.Unmarshal parses all numbers to float64, which breaks any integer settings values. This PR changes MetaSettingsType.UnmarshalJSON to use json.Decoder, which is capable of parsing into a meta-type json.Number, which can be interpreted as a float or an integer. It also properly handles pointer types. |
||
---|---|---|
.. | ||
defaultconfig | ||
filewatcher.go | ||
metaconsts.go | ||
settingsconfig.go |