mirror of
https://github.com/github/codeql-action.git
synced 2026-04-27 17:39:15 +00:00
Add missing else
This commit is contained in:
@@ -109,10 +109,11 @@ export async function checkConnections(
|
||||
logger.error(
|
||||
`Connection test to ${registry.url} failed. (${e.statusCode})`,
|
||||
);
|
||||
} else {
|
||||
logger.error(
|
||||
`Connection test to ${registry.url} failed: ${getErrorMessage(e)}`,
|
||||
);
|
||||
}
|
||||
logger.error(
|
||||
`Connection test to ${registry.url} failed: ${getErrorMessage(e)}`,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user