Skip to content

Commit

Permalink
fix: update subdomainOpToZFPieces
Browse files Browse the repository at this point in the history
  • Loading branch information
janniks committed Aug 2, 2022
1 parent b32cb41 commit 159157d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion packages/cli/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -811,7 +811,6 @@ function destructZonefile(zonefile: string) {
export function subdomainOpToZFPieces(operation: SubdomainOp) {
const destructedZonefile = destructZonefile(operation.zonefile);
const txt = [
operation.subdomainName,
`owner=${operation.owner}`,
`seqn=${operation.sequenceNumber}`,
`parts=${destructedZonefile.length}`,
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/tests/cli.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ describe('Subdomain Migration', () => {
'sound idle panel often situate develop unit text design antenna vendor screen opinion balcony share trigger accuse scatter visa uniform brass update opinion media',
'test2.id.stx', // Subdomain to be migrated
'ST3Q2T3380WE1K5PW72R6R76Q8HRPEK8HR02W6V1M', // Owner mismatch
'No subdomains selected. Canceling...', // expected output, not migrated due to owner mismatch
'No subdomains found or selected. Canceling...', // expected output, not migrated due to owner mismatch
false,
],
];
Expand Down

0 comments on commit 159157d

Please sign in to comment.