Skip to content

Commit

Permalink
Inline value
Browse files Browse the repository at this point in the history
  • Loading branch information
laurilehmijoki committed Feb 3, 2015
1 parent 20234eb commit 568152e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/scala/s3/website/Push.scala
Expand Up @@ -89,9 +89,8 @@ object Push {
errOrRedirects.right.map(_.filter(_.needsUpload).map(S3 uploadRedirect _))
}

val uploadFutures: FutureUploads = resolveUploads(s3FilesFuture)
val uploadReports = for {
errorOrUploads: Either[ErrorReport, Seq[Upload]] <- uploadFutures
errorOrUploads: Either[ErrorReport, Seq[Upload]] <- resolveUploads(s3FilesFuture)
} yield errorOrUploads.right.map(_.map(S3 uploadFile _))

val deleteReports = {
Expand Down

0 comments on commit 568152e

Please sign in to comment.