Skip to content

Commit

Permalink
Use Bun.write(Bun.stdout, '') for output
Browse files Browse the repository at this point in the history
  • Loading branch information
tomocrafter committed Oct 18, 2023
1 parent dfb4e35 commit 427e126
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/execjs/support/bun_runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
exports.abc = function(){}
var __process__ = process;
var printFinal = function(string) {
process.stdout.write('' + string, function() {
Bun.write(Bun.stdout, '' + string).then(function() {
__process__.exit(0);
});
};
Expand Down

0 comments on commit 427e126

Please sign in to comment.