Skip to content

Commit

Permalink
Fix invocation of RepoTool.bootstrapOrUpdate
Browse files Browse the repository at this point in the history
  • Loading branch information
andreabedini committed Mar 11, 2022
1 parent 03c7683 commit 2af2c24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/Foliage/RepoToolWrapper.hs
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ updateRepo :: FilePath -> FilePath -> IO ()
updateRepo keysDir repoDir = do
keysLoc <- KeysLoc <$> makeAbsolute (fromFilePath keysDir)
repoLoc <- RepoLoc <$> makeAbsolute (fromFilePath repoDir)
RepoTool.bootstrapOrUpdate (globalOpts $ Update keysLoc repoLoc) keysLoc repoLoc True
RepoTool.bootstrapOrUpdate (globalOpts $ Update keysLoc repoLoc) keysLoc repoLoc False

bootstrapRepo :: FilePath -> FilePath -> IO ()
bootstrapRepo keysDir repoDir = do
keysLoc <- KeysLoc <$> makeAbsolute (fromFilePath keysDir)
repoLoc <- RepoLoc <$> makeAbsolute (fromFilePath repoDir)
RepoTool.bootstrapOrUpdate (globalOpts $ Bootstrap keysLoc repoLoc) keysLoc repoLoc False
RepoTool.bootstrapOrUpdate (globalOpts $ Bootstrap keysLoc repoLoc) keysLoc repoLoc True

createKeys :: FilePath -> IO ()
createKeys keysDir = do
Expand Down

0 comments on commit 2af2c24

Please sign in to comment.