Skip to content
Snippets Groups Projects
Commit 90faa3a0 authored by Rhys Arkins's avatar Rhys Arkins
Browse files

chore: platformErrorStrings -> platformFailureStrings

parent 3c5bbfc4
Branches
Tags
No related merge requests found
......@@ -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');
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment