diff --git a/lib/platform/git/storage.ts b/lib/platform/git/storage.ts index ba89bdbf45c70d7689982cefd9c14c5d05004187..85a2383cb1127c93a1c55463710fa62d9d98addf 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'); }