mirror of
https://github.com/microsoft/vscode.git
synced 2026-06-02 05:35:30 +01:00
wip: registerPolicyDefinitions
This commit is contained in:
@@ -132,7 +132,7 @@ class CliMain extends Disposable {
|
||||
fileService.registerProvider(Schemas.file, diskFileSystemProvider);
|
||||
|
||||
// Policy
|
||||
const policyService = isWindows ? new WindowsPolicyService(productService) : new NullPolicyService();
|
||||
const policyService = isWindows && productService.win32RegValueName ? new WindowsPolicyService(productService.win32RegValueName) : new NullPolicyService();
|
||||
services.set(IPolicyService, policyService);
|
||||
|
||||
// Configuration
|
||||
|
||||
Reference in New Issue
Block a user