mirror of
https://github.com/bitwarden/cli
synced 2025-12-11 13:53:25 +00:00
use message response
This commit is contained in:
2
jslib
2
jslib
Submodule jslib updated: fc5fcb905f...cb7336c0e8
@@ -95,7 +95,7 @@ export class Program {
|
||||
.option('--check', 'Check login status.', async () => {
|
||||
const authed = await this.main.userService.isAuthenticated();
|
||||
if (authed) {
|
||||
const res = new StringResponse('You are logged in!');
|
||||
const res = new MessageResponse('You are logged in!', null);
|
||||
this.processResponse(Response.success(res), true);
|
||||
}
|
||||
this.processResponse(Response.error('You are not logged in.'), true);
|
||||
|
||||
Reference in New Issue
Block a user