Skip to content

Commit

Permalink
Fixed typo for error message at parseAsWriteAccount method
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmyshchyshyn committed Dec 24, 2024
1 parent d6812ac commit 3cf65e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types/Transform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ export class TransformKind {
const jsonRes = serializer.parse(this.data);

if (!jsonRes || !jsonRes.WriteAccount) {
throw new Error(`Error parsing as DeployInfo`);
throw new Error(`Error parsing as WriteAccount`);
}

return jsonRes.WriteAccount;
Expand Down

0 comments on commit 3cf65e2

Please sign in to comment.