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:
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user