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:
@@ -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 {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user