small fixes

This commit is contained in:
Kyle Spearrin 2019-04-19 17:41:15 -04:00
parent 89419c4fa5
commit 0747744fbb
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ import { AttachmentView } from 'jslib/models/view/attachmentView';
export class AttachmentResponse { export class AttachmentResponse {
id: string; id: string;
fileName: string; fileName: string;
size: number; size: string;
sizeName: string; sizeName: string;
url: string; url: string;

View File

@ -178,7 +178,7 @@ export class Program extends BaseProgram {
writeLn(' bw unlock myPassword321 --raw'); writeLn(' bw unlock myPassword321 --raw');
writeLn('', true); writeLn('', true);
}) })
.option('--check', 'Check vault status.', async () => { .option('--check', 'Check lock status.', async () => {
const locked = await this.main.lockService.isLocked(); const locked = await this.main.lockService.isLocked();
if (!locked) { if (!locked) {
const res = new MessageResponse('Vault is unlocked!', null); const res = new MessageResponse('Vault is unlocked!', null);