mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-06-23 18:05:09 +00:00
minor fix init script
This commit is contained in:
parent
fe95673e0a
commit
c5d71c09e7
@ -245,12 +245,12 @@ async function checkIfAppIsReleased(absentApps: any []) {
|
||||
logger.warn('Missing project: Create the project for ' + currentAbsentApp.name);
|
||||
|
||||
try {
|
||||
projectRelease = await importProjectAndRelease(currentAbsentApp.name);
|
||||
projectRelease = await importProjectAndRelease(currentAbsentApp);
|
||||
} catch (error) {
|
||||
logger.info(`error status ${error.status}`);
|
||||
|
||||
if (error.status !== 409) {
|
||||
logger.info(`Not possible to upload the project ${project.entry.name} status : ${JSON.stringify(error.status)} ${JSON.stringify(error.response.text)}`);
|
||||
logger.info(`Not possible to upload the project ${currentAbsentApp.name} status : ${JSON.stringify(error)}`);
|
||||
process.exit(1);
|
||||
} else {
|
||||
logger.error(`Not possible to upload the project because inconsistency CS - Modelling try to delete manually the node`);
|
||||
|
Loading…
x
Reference in New Issue
Block a user