mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-22 15:02:23 +00:00
3e45e9561e
`withDefault` is a type helper that allows to create a type that defaults to a default value when trying to decode a nullish value. That type was not correctly working with boolean types, causing `false` values to be replaced by true. This would specifically cause issues when parsing the target state, where a `running: false` in a service would become a `running: true` due to the type decoding. Change-type: patch |
||
---|---|---|
.. | ||
backoff.spec.ts | ||
fs-utils.spec.ts | ||
json.spec.ts | ||
system-info.spec.ts | ||
validation.spec.ts |