1 2 3 4 5 6 7 8 9 10 11 12 13
import { importBun } from "../src/install"; import { execFileSync } from "child_process"; importBun() .then((bun) => { return execFileSync(bun, process.argv.slice(2), { stdio: "inherit", }); }) .catch((error) => { console.error(error); process.exit(1); });