Ktlint goes into a infinite loop
When trying to change Kotlin files it goes into a infinite loop complaining about it not being able to run Ktlint:
Can share the conversation over DM if needed.
OS: mac Terminal: Warp Version: 174 Model: Gemini Pro
I have Ktlint working in Intellij, so setting it up for the terminal should fix it. Bit still not wanted behavior
can you run this? BUN_BE_BUN=1 opencode -e 'console.log(Bun.which("ktlint"))'
i'm curious why we're detecting ktlint when it's not accessible
This may have been fixed by: https://github.com/sst/opencode/pull/625 btw
BUN_BE_BUN=1 opencode -e 'console.log(Bun.which("ktlint"))' returns null.
Can also confirm that this is not fixed in 181