chore(settings): clean up comments in settings.ts (#5576)
This commit is contained in:
parent
f2d6748432
commit
b465145229
|
@ -380,7 +380,7 @@ export function loadSettings(workspaceDir: string): LoadedSettings {
|
||||||
const settingsErrors: SettingsError[] = [];
|
const settingsErrors: SettingsError[] = [];
|
||||||
const systemSettingsPath = getSystemSettingsPath();
|
const systemSettingsPath = getSystemSettingsPath();
|
||||||
|
|
||||||
// FIX: Resolve paths to their canonical representation to handle symlinks
|
// Resolve paths to their canonical representation to handle symlinks
|
||||||
const resolvedWorkspaceDir = path.resolve(workspaceDir);
|
const resolvedWorkspaceDir = path.resolve(workspaceDir);
|
||||||
const resolvedHomeDir = path.resolve(homedir());
|
const resolvedHomeDir = path.resolve(homedir());
|
||||||
|
|
||||||
|
@ -435,7 +435,6 @@ export function loadSettings(workspaceDir: string): LoadedSettings {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
// This comparison is now much more reliable.
|
|
||||||
if (realWorkspaceDir !== realHomeDir) {
|
if (realWorkspaceDir !== realHomeDir) {
|
||||||
// Load workspace settings
|
// Load workspace settings
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue