From 90faa3a039b7dd9070a5c02824f6508049032cef Mon Sep 17 00:00:00 2001
From: Rhys Arkins <rhys@arkins.net>
Date: Mon, 12 Aug 2019 11:49:47 +0200
Subject: [PATCH] chore: platformErrorStrings -> platformFailureStrings

---
 lib/platform/git/storage.ts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/platform/git/storage.ts b/lib/platform/git/storage.ts
index ba89bdbf45..85a2383cb1 100644
--- a/lib/platform/git/storage.ts
+++ b/lib/platform/git/storage.ts
@@ -469,7 +469,7 @@ function checkForPlatformFailure(err: Error) {
   if (process.env.CI) {
     return;
   }
-  const platformErrorStrings = [
+  const platformFailureStrings = [
     'remote: Invalid username or password',
     'gnutls_handshake() failed',
     'The requested URL returned error: 5',
@@ -479,7 +479,7 @@ function checkForPlatformFailure(err: Error) {
     'Failed to connect to',
     'Connection timed out',
   ];
-  for (const errorStr of platformErrorStrings) {
+  for (const errorStr of platformFailureStrings) {
     if (err.message.includes(errorStr)) {
       throw new Error('platform-failure');
     }
-- 
GitLab