We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 02b4826 commit f362eccCopy full SHA for f362ecc
npm-app/src/index.ts
@@ -189,8 +189,9 @@ For all commands and options, run 'codebuff' and then type 'help'.
189
}
190
191
192
- // Get initial input
193
- const initialInput = args.join(' ')
+ // Remove the first argument if it's the compiled binary path which bun weirdly injects (starts with /$bunfs)
+ const filteredArgs = args[0]?.startsWith('/$bunfs') ? args.slice(1) : args
194
+ const initialInput = filteredArgs.join(' ')
195
196
codebuff({
197
initialInput,
0 commit comments