fix: clean up remaining Kilo review follow-ups

Remove the unused JSONC helper and duplicate test export so the installer only keeps the shipped fixes. This closes the remaining code-level review feedback after the Kilo support sync.
This commit is contained in:
Alex Alecu
2026-04-03 14:34:21 +03:00
parent 0866290c1b
commit 5451e13abb

View File

@@ -503,20 +503,6 @@ function readSettings(settingsPath) {
return {};
}
/**
* Read and parse JSONC config, returning empty object if it doesn't exist
*/
function readJsoncSettings(settingsPath) {
if (fs.existsSync(settingsPath)) {
try {
return parseJsonc(fs.readFileSync(settingsPath, 'utf8'));
} catch (e) {
return {};
}
}
return {};
}
/**
* Write settings.json with proper formatting
*/
@@ -5997,7 +5983,6 @@ if (process.env.GSD_TEST_MODE) {
validateHookFields,
installSdk,
promptSdk,
configureOpencodePermissions,
};
} else {