refactor(core): move path resolve into fs service (#35202)

This commit is contained in:
James Long
2026-07-03 13:25:25 -04:00
committed by GitHub
parent 911fb7063a
commit 96d53c6716
4 changed files with 33 additions and 17 deletions
+1 -1
View File
@@ -139,7 +139,7 @@ const layer = Layer.effect(
})
const canonical = Effect.fnUntraced(function* (input: AbsolutePath) {
const resolved = AbsolutePath.make(FSUtil.resolve(input))
const resolved = AbsolutePath.make(yield* fs.resolve(input))
if (!(yield* fs.isDir(resolved))) return yield* new DirectoryUnavailableError({ directory: input })
return resolved
})