We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac6a5b2 commit bbd61bfCopy full SHA for bbd61bf
src/script.js
@@ -158,6 +158,9 @@ function toASM(chunks) {
158
if (chunksIsBuffer(chunks)) {
159
chunks = decompile(chunks);
160
}
161
+ if (!chunks) {
162
+ throw new Error('convert invalid chunks to ASM');
163
+ }
164
return chunks
165
.map(chunk => {
166
// data?
ts_src/script.ts
@@ -168,7 +168,9 @@ export function toASM(chunks: Buffer | Array<number | Buffer>): string {
168
169
chunks = decompile(chunks) as Stack;
170
171
-
172
173
174
175
176
0 commit comments