Skip to content

Commit bdf2331

Browse files
committed
fix warning
1 parent d2e22e9 commit bdf2331

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Spago/Paths.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ toGitSearchPath rootDir = reverse $ makeSearchPaths rootDir 4 where
4747
makeSearchPath wd i = joinWith "" $ cons wd $ cons "/" $ replicate i "../"
4848

4949
makeSearchPaths :: FilePath -> Int -> Array FilePath
50-
makeSearchPaths wd 0 = mempty
50+
makeSearchPaths _ 0 = mempty
5151
makeSearchPaths wd i | i > 0 = cons (makeSearchPath wd i) (makeSearchPaths wd (i - 1))
5252
makeSearchPaths _ _ = mempty
5353

0 commit comments

Comments
 (0)