Fix error message typo

Changed "Cannont" to "Cannot" in two places.
This commit is contained in:
enticies
2022-02-03 02:45:21 +01:00
committed by GitHub
parent 236a716283
commit ae510c6f3f

View File

@@ -267,7 +267,7 @@ export class UserDataSyncWorkbenchService extends Disposable implements IUserDat
return;
}
if (this.userDataSyncService.status !== SyncStatus.Idle) {
throw new Error('Cannont turn on sync while syncing');
throw new Error('Cannot turn on sync while syncing');
}
const picked = await this.pick();
@@ -289,7 +289,7 @@ export class UserDataSyncWorkbenchService extends Disposable implements IUserDat
}
if (this.userDataSyncService.status !== SyncStatus.Idle) {
throw new Error('Cannont turn on sync while syncing');
throw new Error('Cannot turn on sync while syncing');
}
if (this.accountStatus !== AccountStatus.Available) {