Skip to content

Commit

Permalink
[beta] Feat: unzip manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
Tsemach Lifshitz committed Dec 26, 2024
1 parent 228ca32 commit 890db85
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mondaycom/apps-cli",
"version": "4.4.0-beta.4",
"version": "4.4.0-beta.5",
"description": "A cli tool to manage apps (and monday-code projects) in monday.com",
"author": "monday.com Apps Team",
"type": "module",
Expand Down
8 changes: 3 additions & 5 deletions src/commands/manifest/export.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export default class ManifestExport extends AuthenticatedCommand {
const { flags } = await this.parse(ManifestExport);
const { appId: appIdAsString, appVersionId: appVersionIdAsString } = flags;

const appId = appIdAsString ? Number(appIdAsString) : undefined;
let appId = appIdAsString ? Number(appIdAsString) : undefined;
let appVersionId = appVersionIdAsString ? Number(appVersionIdAsString) : undefined;

if (appVersionId && !appId) {
Expand All @@ -55,10 +55,8 @@ export default class ManifestExport extends AuthenticatedCommand {
}

if (!appId && !appVersionId) {
const appId = await DynamicChoicesService.chooseApp();
appVersionId = appVersionIdAsString
? Number(appVersionIdAsString)
: await this.getAppVersionId(undefined, appId);
appId = Number(await DynamicChoicesService.chooseApp());
appVersionId = await this.getAppVersionId(undefined, appId);
}

this.preparePrintCommand(this, flags);
Expand Down

0 comments on commit 890db85

Please sign in to comment.