returnthis.queue.queue(()=>this.doWrite(this.environmentService.settingsResource,value,formattingOptions));// queue up writes to prevent race conditions
returnthis.queue.queue(()=>this.doWrite(value,formattingOptions));// queue up writes to prevent race conditions
thrownewUserDataSyncError(localize('errorInvalidSettings',"Unable to sync settings as there are errors/warning in settings file."),UserDataSyncErrorCode.LocalInvalidContent,this.resource);