mirror of
https://github.com/anomalyco/opencode.git
synced 2026-07-21 10:16:03 +00:00
fix fff disabling logic
This commit is contained in:
@@ -232,4 +232,6 @@ export const fffLayer = Layer.effect(
|
||||
}),
|
||||
)
|
||||
|
||||
export const defaultLayer = Layer.unwrap(Effect.sync(() => (Flag.OPENCODE_DISABLE_FFF ? ripgrepLayer : fffLayer)))
|
||||
export const defaultLayer = Layer.unwrap(
|
||||
Effect.sync(() => (Flag.OPENCODE_DISABLE_FFF || !Fff.available() ? ripgrepLayer : fffLayer)),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user