Skip to content

Commit 6829684

Browse files
committed
1 parent c8914e2 commit 6829684

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/platform/userDataSync/common/abstractSynchronizer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ export abstract class AbstractSynchroniser extends Disposable implements IUserDa
483483

484484
async hasPreviouslySynced(): Promise<boolean> {
485485
const lastSyncData = await this.getLastSyncUserData();
486-
return !!lastSyncData;
486+
return !!lastSyncData && lastSyncData.syncData !== null /* `null` sync data implies resource is not synced */;
487487
}
488488

489489
async getRemoteSyncResourceHandles(): Promise<ISyncResourceHandle[]> {

0 commit comments

Comments
 (0)