UNC follow up changes (#181946)

* settings include update

* more cleanup
This commit is contained in:
Benjamin Pasero
2023-05-09 22:02:51 +02:00
committed by GitHub
parent a99c29b544
commit 2e671b3a29
9 changed files with 210 additions and 75 deletions
@@ -697,7 +697,7 @@ const registry = Registry.as<IConfigurationRegistry>(ConfigurationExtensions.Con
},
'default': [],
'markdownDescription': localize('security.allowedUNCHosts', 'A set of UNC host names to allow without user confirmation. If a UNC host is being accessed that is not allowed via this setting or has not been acknowledged via user confirmation, an error will occur and the operation stopped. A restart is required when changing this setting. Find out more about this setting at https://aka.ms/vscode-windows-unc.'),
'included': isWindows,
'included': isWeb ? true /* web maybe connected to a windows machine */ : isWindows,
'scope': ConfigurationScope.MACHINE
}
}