chore: upgrade Effect to beta.98 (#37498)

This commit is contained in:
Kit Langton
2026-07-17 10:31:27 -04:00
committed by GitHub
parent b26d948b76
commit 44f7bb71c1
37 changed files with 316 additions and 138 deletions
@@ -47,8 +47,8 @@ function remappedFs(root: string) {
writeWithDirs: (file, content, mode) => fs.writeWithDirs(remap(root, file), content, mode),
readFileString: (file) => fs.readFileString(remap(root, file)),
remove: (file) => fs.remove(remap(root, file)),
glob: (pattern, options) =>
fs.glob(pattern, options?.cwd ? { ...options, cwd: remap(root, options.cwd) } : options),
scan: (pattern, options) =>
fs.scan(pattern, options?.cwd ? { ...options, cwd: remap(root, options.cwd) } : options),
})
}),
).pipe(Layer.provide(LayerNode.compile(FSUtil.node)))