diff options
Diffstat (limited to 'bench/snippets/copy.bun.js')
-rw-r--r-- | bench/snippets/copy.bun.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bench/snippets/copy.bun.js b/bench/snippets/copy.bun.js new file mode 100644 index 000000000..20269212a --- /dev/null +++ b/bench/snippets/copy.bun.js @@ -0,0 +1,4 @@ +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)); |