Revert "Ignore workspace settings for untrusted folders" (#6672)

This commit is contained in:
Jacob Richman
2025-08-20 12:49:15 -07:00
committed by GitHub
parent fd64d89da0
commit 52e340a11b
16 changed files with 122 additions and 386 deletions

View File

@@ -1270,7 +1270,6 @@ describe('Settings Loading and Merging', () => {
expect(loadedSettings.workspace.settings.contextFileName).toBe(
'MY_AGENTS.md',
);
// This test assumes a trusted workspace, so the workspace setting should apply.
expect(loadedSettings.merged.contextFileName).toBe('MY_AGENTS.md');
expect(loadedSettings.merged.theme).toBe('matrix'); // User setting should still be there
expect(fs.writeFileSync).toHaveBeenCalledWith(