flatpak-builder
flatpak-builder copied to clipboard
flatpak-builder silently ignores entries of invalid type in `build-commands` in manifest YAML
Checklist
- [X] I agree to follow the Code of Conduct that this project adheres to.
- [X] I have searched the issue tracker for a bug that matches the one I want to file, without success.
flatpak-builder version
1.15.6
Flatpak version
1.4.1
How to reproduce
- Start a sample flatpak project with a YAML manifest,
simplebuild method, and multiple commands listed underbuild-commandsas an array; make sure the build succeeds - Add
falseas an element in thebuild-commandsarray somewhere in the middle (simulating a user adding it meaning the UNIXfalsecommand, without realizing it should've been quoted)
Expected Behavior
flatpak-builder should warn that the list contains an element of invalid type (bool instead of string).
Actual Behavior
flatpak-builder silently ignores the bool entry and finishes the build successfully.
Additional Information
No response
The issue could be with json_gobject_deserialize().