Skip to content

Commit

Permalink
clarify comment
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbecich committed Aug 4, 2024
1 parent 5b56919 commit 2119d76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Spago/Paths.purs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ toLocalCachePath rootDir = Path.concat [ rootDir, ".spago" ]
toLocalCachePackagesPath :: FilePath -> FilePath
toLocalCachePackagesPath rootDir = Path.concat [ toLocalCachePath rootDir, "p" ]

-- search maximum 4 levels up the tree to find the Git project, if it exists
-- search maximum 4 levels up the tree to find all other `spago.yaml`, which may contain workspace definition
toGitSearchPath :: FilePath -> Array FilePath
toGitSearchPath rootDir = reverse $ makeSearchPaths rootDir 4 where
makeSearchPath :: FilePath -> Int -> FilePath
Expand Down

0 comments on commit 2119d76

Please sign in to comment.