Skip to content

Commit

Permalink
Fix curator compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
qrilka committed Aug 22, 2018
1 parent 4f74f94 commit 3f4c212
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion subs/curator/app/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ build = do
loadPantrySnapshotFile :: FilePath -> RIO PantryApp Curator.Snapshot
loadPantrySnapshotFile fp = do
abs' <- resolveFile' fp
eres <- loadPantrySnapshot $ SLFilePath (ResolvedPath (RelFilePath (fromString fp)) abs')
eres <- loadSnapshot $ SLFilePath (ResolvedPath (RelFilePath (fromString fp)) abs')
case eres of
Left x -> error $ "should not happen: " ++ show (fp, x)
Right (x, _) -> pure x

0 comments on commit 3f4c212

Please sign in to comment.