Skip to content

Commit

Permalink
Update app/Foliage/CmdBuild.hs
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Peyton Jones <[email protected]>
  • Loading branch information
yvan-sraka and michaelpj authored Apr 21, 2023
1 parent 701ee2c commit cfbd1ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Foliage/CmdBuild.hs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ buildAction
revcf <-
foldM
( \(lastRevisionPath, cabalFiles) (timestamp, revisionPath) -> do
if takeExtension originalCabalFilePath `elem` [".diff", ".patch"]
if takeExtension revisionPath `elem` [".diff", ".patch"]
then do
patchedRevisionPath <- applyPatch lastRevisionPath revisionPath
preparedCabal <- prepareIndexPkgCabal pkgId timestamp patchedRevisionPath
Expand Down

0 comments on commit cfbd1ac

Please sign in to comment.