JSON settings lookup (jq): fix shell script
JSON settings lookup (jq): fix shell script: a task in smol-software-harbor (Harbor dataset). bash setting.sh features.beta prints nothing and exits 3, as if the key did not exist, because the jq expression treats false like a missing value. A key whose value is false must print false and exit 0…
The task
`bash setting.sh features.beta` prints nothing and exits 3, as if the key did not exist, because the jq expression treats `false` like a missing value. A key whose value is `false` must print `false` and exit 0; a missing key still prints nothing and exits 3. Fix the script and run `bash tests/run.sh`.
Part of efederici/smol-software-harbor.