Skip to content

Commit 5c9d2ca

Browse files
committed
Merge branch 'development' into fix/app-uid-issue
2 parents e008e13 + b9cf987 commit 5c9d2ca

File tree

3 files changed

+5
-12
lines changed

3 files changed

+5
-12
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ $ csdx COMMAND
2121
running command...
2222
$ csdx (--version|-v)
2323
@contentstack/apps-cli/1.2.0 darwin-arm64 node-v18.20.2
24+
@contentstack/apps-cli/1.2.0 darwin-arm64 node-v18.20.2
2425
$ csdx --help [COMMAND]
2526
USAGE
2627
$ csdx COMMAND

src/commands/app/deploy.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,6 @@ export default class Deploy extends AppCLIBaseCommand {
4646
"app-url": Flags.string({
4747
description: deployAppMsg.APP_URL,
4848
}),
49-
yes: Flags.boolean({
50-
char: "y",
51-
description: deployAppMsg.FORCE_DISCONNECT,
52-
default: false,
53-
}),
5449
"launch-project": Flags.string({
5550
multiple: false,
5651
options: ["existing", "new"],
@@ -294,4 +289,4 @@ export default class Deploy extends AppCLIBaseCommand {
294289
);
295290
}
296291
}
297-
}
292+
}

src/util/common-utils.ts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -313,17 +313,14 @@ async function getProjects(
313313
node: {
314314
uid,
315315
name,
316-
latestDeploymentStatus: {
317-
deployment: { url },
318-
environment: { uid: environmentUid },
319-
},
316+
latestDeploymentStatus,
320317
integrations: { developerHubApp },
321318
},
322319
}) => ({
323320
name,
324321
uid,
325-
url,
326-
environmentUid,
322+
url: latestDeploymentStatus?.deployment?.url || null,
323+
environmentUid: latestDeploymentStatus?.environment?.uid || null,
327324
developerHubAppUid: developerHubApp?.uid || null,
328325
})
329326
);

0 commit comments

Comments
 (0)