mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 19:44:25 +01:00
use getter - isEnabled() is accesed in the constructor
This commit is contained in:
@@ -9,7 +9,7 @@ import { IWorkbenchEnvironmentService } from 'vs/workbench/services/environment/
|
||||
|
||||
export class WebUserDataAutoSyncService extends UserDataAutoSyncService implements IUserDataAutoSyncService {
|
||||
|
||||
private readonly workbenchEnvironmentService: IWorkbenchEnvironmentService = <IWorkbenchEnvironmentService>this.environmentService;
|
||||
private get workbenchEnvironmentService(): IWorkbenchEnvironmentService { return <IWorkbenchEnvironmentService>this.environmentService; }
|
||||
private enabled: boolean | undefined = undefined;
|
||||
|
||||
isEnabled(): boolean {
|
||||
|
||||
Reference in New Issue
Block a user