Read provider settings from fusion fallback
This commit is contained in:
@@ -207,7 +207,9 @@ function readJsonObject(path: string): Record<string, any> {
|
||||
|
||||
function createReadOnlyPiSettingsView(cwd: string, agentDir: string): PackageManagerSettingsView {
|
||||
const globalSettings = readJsonObject(join(agentDir, "settings.json"));
|
||||
const projectSettings = readJsonObject(join(cwd, ".pi", "settings.json"));
|
||||
const legacyProjectSettings = readJsonObject(join(cwd, ".pi", "settings.json"));
|
||||
const fusionProjectSettings = readJsonObject(join(cwd, ".fusion", "settings.json"));
|
||||
const projectSettings = { ...legacyProjectSettings, ...fusionProjectSettings };
|
||||
const mergedSettings = { ...globalSettings, ...projectSettings };
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user