diff options
Diffstat (limited to 'bench/copyfile/bun.js')
-rw-r--r-- | bench/copyfile/bun.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bench/copyfile/bun.js b/bench/copyfile/bun.js new file mode 100644 index 000000000..7e5e2c9b1 --- /dev/null +++ b/bench/copyfile/bun.js @@ -0,0 +1,5 @@ +import path from "path"; +const input = path.resolve(process.argv[process.argv.length - 2]); +const output = path.resolve(process.argv[process.argv.length - 1]); + +await Bun.write(Bun.file(output), Bun.file(input)); |