Skip to content

Commit

Permalink
Proper Wording in Deletion CLI (#339)
Browse files Browse the repository at this point in the history
  • Loading branch information
jkoenig134 authored Jan 8, 2025
1 parent 72b0abc commit 4ae61a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cli/commands/identity/status.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export class IdentityStatus extends BaseCommand {
const identityDeletionProcessResult = await this.cliRuntime.getServices().transportServices.identityDeletionProcesses.getActiveIdentityDeletionProcess();

const identityInfo = identityInfoResult.value;
let message = `Id: ${identityInfo.address}`;
let message = `Identity Address: ${identityInfo.address}`;

if (identityDeletionProcessResult.isSuccess) {
const identityDeletionProcess = identityDeletionProcessResult.value;
Expand Down
2 changes: 1 addition & 1 deletion test/modules/cli/identity/identityStatus.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { identityDeletionInitHandler, identityStatusHandler } from "../../../../
import { resetDB, setupEnvironment } from "../setup";

describe("Identity status", () => {
const identityStatusPattern = /Id: did:e:((([A-Za-z0-9]+(-[A-Za-z0-9]+)*)\.)+[a-z]{2,}|localhost):dids:[0-9a-f]{22}/;
const identityStatusPattern = /Identity Address: did:e:((([A-Za-z0-9]+(-[A-Za-z0-9]+)*)\.)+[a-z]{2,}|localhost):dids:[0-9a-f]{22}/;

beforeAll(() => {
setupEnvironment();
Expand Down

0 comments on commit 4ae61a0

Please sign in to comment.