1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-10 05:13:29 +00:00

Allow bw sync without unlocking (#2916)

This commit is contained in:
Tomi Belan
2022-08-16 23:27:05 +02:00
committed by GitHub
parent 1137f83535
commit e7da2f0c22

View File

@@ -281,7 +281,7 @@ export class Program extends BaseProgram {
writeLn("", true);
})
.action(async (cmd) => {
await this.exitIfLocked();
await this.exitIfNotAuthed();
const command = new SyncCommand(this.main.syncService);
const response = await command.run(cmd);
this.processResponse(response);