[PR #12694] refactor(nix): use native Bun APIs and propagate errors #14325

Closed
opened 2026-02-16 18:19:08 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/12694

State: closed
Merged: Yes


Follow-up to #12636.

  • Replace safeReadDir() with readdir() to propagate errors instead of returning empty arrays silently
  • Use Bun.semver.order instead of external semver import
  • Keep isDirectory() helper for cleaner checks

Related: #12632 #12603 #12602

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/12694 **State:** closed **Merged:** Yes --- Follow-up to #12636. - Replace `safeReadDir()` with `readdir()` to propagate errors instead of returning empty arrays silently - Use `Bun.semver.order` instead of external semver import - Keep `isDirectory()` helper for cleaner checks Related: #12632 #12603 #12602
yindo added the pull-request label 2026-02-16 18:19:08 -05:00
yindo closed this issue 2026-02-16 18:19:08 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#14325