Skip to content

Commit ab1dc30

Browse files
committed
remove IsRelOrAbs from sandboxAny
1 parent fc39652 commit ab1dc30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Pathy/Sandboxed.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ sandbox root = map (SandboxedPath root) <<< onRelOrAbs (go (root </> _)) (go id)
4343
-- |
4444
-- | This should only be used for situations where a path is already constrained
4545
-- | within a system so that access to `/` is safe - for instance, in URIs.
46-
sandboxAny :: forall a b. IsRelOrAbs a => Path a b -> SandboxedPath a b
46+
sandboxAny :: forall a b. Path a b -> SandboxedPath a b
4747
sandboxAny p = SandboxedPath rootDir p
4848

4949
-- | Returns the location a `SandboxedPath` was sandboxed to.

0 commit comments

Comments
 (0)