Skip to content

Commit 2a33b93

Browse files
committed
Fallback to Bun if Node.js isn't available
1 parent b4ee60f commit 2a33b93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chat-llm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env node
1+
#!/usr/bin/env -S sh -c 'command -v node >/dev/null && exec node "$0" "$@" || exec bun "$0" "$@" '
22

33
const fs = require('fs');
44
const http = require('http');

0 commit comments

Comments
 (0)