1
0
mirror of https://github.com/bitwarden/cli synced 2025-12-16 08:13:21 +00:00

Update jslib 31a2574 -> 28e3fff, update vault timeout service deps

This commit is contained in:
Vincent Salucci
2020-04-03 09:47:45 -05:00
parent cb8dfe376d
commit 6916d68f37
5 changed files with 11 additions and 11 deletions

View File

@@ -163,7 +163,7 @@ export class Program extends BaseProgram {
})
.action(async (cmd) => {
await this.exitIfNotAuthed();
const command = new LockCommand(this.main.lockService);
const command = new LockCommand(this.main.vaultTimeoutService);
const response = await command.run(cmd);
this.processResponse(response);
});
@@ -186,7 +186,7 @@ export class Program extends BaseProgram {
writeLn('', true);
})
.option('--check', 'Check lock status.', async () => {
const locked = await this.main.lockService.isLocked();
const locked = await this.main.vaultTimeoutService.isLocked();
if (!locked) {
const res = new MessageResponse('Vault is unlocked!', null);
this.processResponse(Response.success(res), true);