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:
authorChris Rebert <github@chrisrebert.com>2015-12-23 00:08:23 +0300
committerChris Rebert <github@chrisrebert.com>2015-12-23 00:08:23 +0300
commit15e3ce333e8c25815d5c53d833c6a40693c1b0c9 (patch)
treed1a64e3bdae6477784e2db9efd350788dbf53054
parenta085e935399d0aae4e2efc6fe377d1e90dbb9a9c (diff)
All "Merge pull request #1" PRs are suspect
Refs https://github.com/twbs/bootstrap/pull/18631
-rw-r--r--src/main/scala/com/getbootstrap/rorschach/auditing/TitleAuditor.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/scala/com/getbootstrap/rorschach/auditing/TitleAuditor.scala b/src/main/scala/com/getbootstrap/rorschach/auditing/TitleAuditor.scala
index 2163b45..81b5f8c 100644
--- a/src/main/scala/com/getbootstrap/rorschach/auditing/TitleAuditor.scala
+++ b/src/main/scala/com/getbootstrap/rorschach/auditing/TitleAuditor.scala
@@ -12,7 +12,7 @@ object TitleAuditor {
def audit(title: String): Seq[String] = {
if (
- title == "Merge pull request #1 from twbs/master"
+ title.startsWith("Merge pull request #1 from ")
|| title.startsWith("Create ")
|| title.trim.asciiLowerCased == "master"
) {