mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Update check-cs-env.ts
This commit is contained in:
@@ -35,7 +35,7 @@ async function checkEnv() {
|
||||
|
||||
await alfrescoJsApi.login(program.username, program.password);
|
||||
} catch (error) {
|
||||
if (error.error.code === 'ETIMEDOUT') {
|
||||
if (error?.error.code === 'ETIMEDOUT') {
|
||||
logger.error('The env is not reachable. Terminating');
|
||||
process.exit(1);
|
||||
}
|
||||
|
Reference in New Issue
Block a user