Skip to content

Commit

Permalink
[test] Modify function return type
Browse files Browse the repository at this point in the history
this should pass all unit tests but cause bdcs build to fail
  • Loading branch information
atodorov committed Jul 5, 2018
1 parent be82c4b commit b00c923
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Codec/RPM/Conduit.hs
Expand Up @@ -52,7 +52,6 @@ payloadC = awaitForever (yield . rpmArchive)

-- | Extract the package payload from an 'RPM', decompress it, and return each element of
-- the payload as a 'Data.CPIO.Entry'.
payloadContentsC :: (MonadResource m, MonadThrow m) => Conduit RPM m Entry
payloadContentsC :: (MonadResource m, MonadThrow m) => Conduit RPM m C.ByteString
payloadContentsC = payloadC
.| decompress Nothing
.| readCPIO

0 comments on commit b00c923

Please sign in to comment.