Skip to content

Commit

Permalink
Merge pull request #67 from haskell-works/append-metadata-instead-of-…
Browse files Browse the repository at this point in the history
…prepend

Append metadata instead of prepend
  • Loading branch information
newhoggy authored May 29, 2019
2 parents 9a0b2bd + df2747a commit 901258a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App/Commands/SyncToArchive.hs
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ runSyncToArchive opts = do

metas <- createMetadata tempPath pInfo [("store-path", LC8.pack storePath)]

IO.createTar tempArchiveFile (metas:rp2)
IO.createTar tempArchiveFile (rp2 <> [metas])

void $ catchError (liftIO (LBS.readFile tempArchiveFile) >>= IO.writeResource envAws targetFile) $ \case
e@(AwsAppError (HTTP.Status 301 _)) -> do
Expand Down

0 comments on commit 901258a

Please sign in to comment.