From 3cf65e29374e4326ef36fca6ac60e2e6fe80b720 Mon Sep 17 00:00:00 2001 From: Oleksandr Myshchyshyn Date: Tue, 24 Dec 2024 13:03:11 +0200 Subject: [PATCH] Fixed typo for error message at parseAsWriteAccount method --- src/types/Transform.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types/Transform.ts b/src/types/Transform.ts index 5ede0f0e..8c73038e 100644 --- a/src/types/Transform.ts +++ b/src/types/Transform.ts @@ -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;