fix(core): disable fff broad scanning
This commit is contained in:
parent
68260ea6c9
commit
e9ee2129ea
1 changed files with 0 additions and 3 deletions
|
|
@ -1,6 +1,5 @@
|
||||||
export * as FileSystemSearch from "./search"
|
export * as FileSystemSearch from "./search"
|
||||||
|
|
||||||
import os from "os"
|
|
||||||
import path from "path"
|
import path from "path"
|
||||||
import { Context, Effect, Layer, Scope } from "effect"
|
import { Context, Effect, Layer, Scope } from "effect"
|
||||||
import { Fff } from "#fff"
|
import { Fff } from "#fff"
|
||||||
|
|
@ -128,8 +127,6 @@ export const fffLayer = Layer.effect(
|
||||||
Fff.create({
|
Fff.create({
|
||||||
basePath: location.directory,
|
basePath: location.directory,
|
||||||
aiMode: true,
|
aiMode: true,
|
||||||
enableFsRootScanning: location.directory === path.parse(location.directory).root,
|
|
||||||
enableHomeDirScanning: location.directory === os.homedir(),
|
|
||||||
}),
|
}),
|
||||||
catch: (cause) => cause,
|
catch: (cause) => cause,
|
||||||
}).pipe(Effect.orDie)
|
}).pipe(Effect.orDie)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue