⬆️ upgrade babel and typescript packages caused by jest upgrade (#73)

This commit is contained in:
Anton Shepilov
2023-06-09 16:02:26 +02:00
committed by GitHub
parent dfd25a234a
commit adda7caf00
7 changed files with 3944 additions and 4623 deletions
@@ -56,7 +56,7 @@ const command: yargs.CommandModule<unknown, CLIArgs> = {
const company = await gr.services.companies.getCompany({ id: argv.id });
if (!company) {
return "No such company";
return;
}
console.log(`Start export for company ${company.id}`);
@@ -103,7 +103,7 @@ const command: yargs.CommandModule<unknown, CLIArgs> = {
}
writeFileSync(`${output}/users.json`, JSON.stringify(users));
await platform.stop();
await platform.stop().then(() => console.log("Platform stopped"));
},
};
@@ -106,7 +106,7 @@ const command: yargs.CommandModule<{}, CLIArgs> = {
return obsv$
.toPromise()
.then(() => platform.stop())
.finally(() => console.log("✅ Company users are now created"));
.then(() => console.log("✅ Company users are now created"));
},
};
@@ -134,7 +134,9 @@ const command: yargs.CommandModule<unknown, unknown> = {
repository,
});
return spinner.stop();
spinner.stop();
return;
},
};
@@ -56,7 +56,8 @@ const command: yargs.CommandModule<unknown, CLIArgs> = {
if (!user) {
console.error("Error: You need to provide User ID");
return spinner.stop();
spinner.stop();
return;
}
if (user) {
@@ -79,6 +80,8 @@ const command: yargs.CommandModule<unknown, CLIArgs> = {
}
exit();
return;
},
};