Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/rorschach.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/scala/com/getbootstrap/rorschach/server/PullRequestEventHandler.scala')
-rw-r--r--src/main/scala/com/getbootstrap/rorschach/server/PullRequestEventHandler.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/scala/com/getbootstrap/rorschach/server/PullRequestEventHandler.scala b/src/main/scala/com/getbootstrap/rorschach/server/PullRequestEventHandler.scala
index 491b920..4c7d154 100644
--- a/src/main/scala/com/getbootstrap/rorschach/server/PullRequestEventHandler.scala
+++ b/src/main/scala/com/getbootstrap/rorschach/server/PullRequestEventHandler.scala
@@ -44,8 +44,8 @@ class PullRequestEventHandler(commenter: ActorRef) extends GitHubActorWithLoggin
}
case Success(files) => files
}
+ val addedFiles = affectedFiles.filter{ _.status == Added }
val modifiedFiles = affectedFiles.filter{ _.status == Modified }.filenames
- val addedFiles = affectedFiles.filter{ _.status == Added }.filenames
val titleMessages = TitleAuditor.audit(pr.getTitle)
val branchMessages = BaseAndHeadBranchesAuditor.audit(baseBranch = bsBase.getRef, headBranch = prHead.getRef)