Просмотр исходного кода

fix(core): disable fff broad scanning

Dax Raad 1 месяц назад
Родитель
Сommit
e9ee2129ea
1 измененных файлов с 0 добавлено и 3 удалено
  1. 0 3
      packages/core/src/filesystem/search.ts

+ 0 - 3
packages/core/src/filesystem/search.ts

@@ -1,6 +1,5 @@
 export * as FileSystemSearch from "./search"
 
-import os from "os"
 import path from "path"
 import { Context, Effect, Layer, Scope } from "effect"
 import { Fff } from "#fff"
@@ -128,8 +127,6 @@ export const fffLayer = Layer.effect(
         Fff.create({
           basePath: location.directory,
           aiMode: true,
-          enableFsRootScanning: location.directory === path.parse(location.directory).root,
-          enableHomeDirScanning: location.directory === os.homedir(),
         }),
       catch: (cause) => cause,
     }).pipe(Effect.orDie)