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