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