Skip to content

Commit

Permalink
Merge pull request #136 from tomocrafter/use-bun-write-for-bun
Browse files Browse the repository at this point in the history
Use Bun.write(Bun.stdout, '') for output in Bun executor
  • Loading branch information
byroot authored Oct 18, 2023
2 parents dfb4e35 + 427e126 commit bf06330
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 bf06330

Please sign in to comment.