Skip to content

Commit

Permalink
fix Node.js UF2 output
Browse files Browse the repository at this point in the history
  • Loading branch information
mikecat committed Jan 3, 2025
1 parent 757fc51 commit dafe446
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion asm15node.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,6 @@ options:
await writeToStream(process.stderr, result.errors.join("\n\n") + "\n");
process.exitCode = 1;
}
await writeToStream(outputStream, result.bas);
await writeToStream(outputStream, result.bas instanceof ArrayBuffer ? new Uint8Array(result.bas) : result.bas);
}
})();

0 comments on commit dafe446

Please sign in to comment.