Skip to content

userDataSyncService.resetLocal doesn't appear to do anything #90555

@scovetta

Description

@scovetta

The userDataSyncService.ts -> resetLocal function looks like it's missing a call to synchroniser.resetLocal(), see below.

	async resetLocal(): Promise<void> {
		await this.checkEnablement();
		for (const synchroniser of this.synchronisers) {
			try {
				synchroniser.resetLocal(); <-- Suggest adding this here?
			} catch (e) {
				this.logService.error(`${synchroniser.source}: ${toErrorMessage(e)}`);
				this.logService.error(e);
			}
		}
	}

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugsettings-syncverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions