From ce83c86fa204f43d2790ecd938cf453cb4ce73af Mon Sep 17 00:00:00 2001
From: Rhys Arkins <rhys@arkins.net>
Date: Sun, 10 Dec 2017 17:55:23 +0100
Subject: [PATCH] refactor: rename branch protection messages

---
 lib/platform/github/index.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/platform/github/index.js b/lib/platform/github/index.js
index 67a7bd4b3a..2a48f93dae 100644
--- a/lib/platform/github/index.js
+++ b/lib/platform/github/index.js
@@ -115,7 +115,7 @@ async function getRepoForceRebase() {
     try {
       config.repoForceRebase = false;
       const branchProtection = await getBranchProtection(config.baseBranch);
-      logger.info('Branch protection found');
+      logger.info('Found branch protection');
       if (branchProtection.required_pull_request_reviews) {
         logger.info(
           'Branch protection: PR Reviews are required before merging'
@@ -145,7 +145,7 @@ async function getRepoForceRebase() {
       }
     } catch (err) {
       if (err.statusCode === 404) {
-        logger.info(`Branch protection: none found`);
+        logger.info(`No branch protection found`);
       } else if (err.statusCode === 403) {
         logger.warn(
           'Branch protection: Do not have permissions to detect branch protection'
-- 
GitLab