Commit 487ef68
fix: add missing jsonOutput parameter to SyncConfiguration
The configuration loader was not reading the BUSHEL_SYNC_JSON_OUTPUT
environment variable, even though it was set in the workflow. The
jsonOutput parameter was defined in ConfigurationKeys and
SyncConfiguration, but was missing from the loader initialization.
This caused the binary to output human-readable text instead of JSON,
which corrupted the sync-result.json file and caused jq parsing errors.
Root cause analysis:
1. Workflow set BUSHEL_SYNC_JSON_OUTPUT=true ✓
2. ConfigurationKeys.Sync.jsonOutput defined ✓
3. SyncConfiguration.jsonOutput parameter defined ✓
4. ConfigurationLoader reading jsonOutput ✗ (MISSING - now fixed)
5. SyncCommand checking config.sync?.jsonOutput ✓
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent f54d412 commit 487ef68
File tree
1 file changed
+2
-1
lines changed- Sources/BushelCloudKit/Configuration
1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
| 97 | + | |
| 98 | + | |
98 | 99 | | |
99 | 100 | | |
100 | 101 | | |
| |||
0 commit comments