opencode
opencode copied to clipboard
[BUG] fix(session): remove duplicate and typo'd path imports (#8412)
In packages/opencode/src/session/index.ts, there are two path imports introduced in #8281:
// Line 2 - typo (unused)
import pat from "path"
// Line 24 - actual working import
import path from "path"
The code uses path.join() on line 236, so only the second import is functional. The first is dead code with a typo.
Fix:
- Fix typo pat → path on line 2
- Remove duplicate import path from "path" on line 24
Introduced in: 0a3c72d67 (v1.1.15+)