1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-08 20:50:28 +00:00

Fix/bitwarden serve (#454)

* Handle null passedOptions

* Require authentication to use `bs serve`
This commit is contained in:
Matt Gibson
2022-01-26 11:28:56 -05:00
committed by GitHub
parent 21e8db9636
commit 1b409653a2
13 changed files with 39 additions and 38 deletions

View File

@@ -480,6 +480,7 @@ export class Program extends BaseProgram {
writeLn("", true);
})
.action(async (cmd) => {
await this.exitIfNotAuthed();
const command = new ServeCommand(this.main);
await command.run(cmd);
});