From 2c5acc90605546a6b73bf6e27cc02132a56ce4e1 Mon Sep 17 00:00:00 2001 From: dylan-conlin Date: Mon, 22 Dec 2025 01:25:07 -0800 Subject: [PATCH] fix: handle empty config values in getRepoConfig() (#684) Previously, bd repo commands (list, add, remove, sync) failed with 'unexpected end of JSON input' when repos.additional config key had an empty value. GetConfig() returns ('', nil) for missing keys, and json.Unmarshal fails on empty strings. Added empty value check before JSON parsing to return empty map in this case. Added tests for repo config helper functions.