Skip to content

Commit 7efa3f9

Browse files
committed
fix: update toASM error tips
1 parent bbd61bf commit 7efa3f9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/script.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ function toASM(chunks) {
159159
chunks = decompile(chunks);
160160
}
161161
if (!chunks) {
162-
throw new Error('convert invalid chunks to ASM');
162+
throw new Error('Could not convert invalid chunks to ASM');
163163
}
164164
return chunks
165165
.map(chunk => {

ts_src/script.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ export function toASM(chunks: Buffer | Array<number | Buffer>): string {
169169
chunks = decompile(chunks) as Stack;
170170
}
171171
if (!chunks) {
172-
throw new Error('convert invalid chunks to ASM');
172+
throw new Error('Could not convert invalid chunks to ASM');
173173
}
174174
return chunks
175175
.map(chunk => {

0 commit comments

Comments
 (0)