diff --git a/lib/execjs/support/bun_runner.js b/lib/execjs/support/bun_runner.js index ddbdedf..08605af 100644 --- a/lib/execjs/support/bun_runner.js +++ b/lib/execjs/support/bun_runner.js @@ -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); }); };