mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-09-24 16:02:55 +08:00
fix(cli): handle broken symlinks and junctions for config directories on Windows
This commit is contained in:
@@ -544,7 +544,7 @@ export const layer = Layer.effect(
|
||||
)
|
||||
.pipe(
|
||||
Effect.catchIf(
|
||||
(e) => e.reason._tag === "PermissionDenied",
|
||||
(e) => e.reason._tag === "PermissionDenied" || e.reason._tag === "NotFound", // kilocode_change - also ignore NotFound (broken symlink/junction on Windows)
|
||||
() => Effect.void,
|
||||
),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user