File tree Expand file tree Collapse file tree 3 files changed +5
-12
lines changed Expand file tree Collapse file tree 3 files changed +5
-12
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ $ csdx COMMAND
21
21
running command...
22
22
$ csdx (--version| -v)
23
23
@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
24
25
$ csdx --help [COMMAND]
25
26
USAGE
26
27
$ csdx COMMAND
Original file line number Diff line number Diff line change @@ -46,11 +46,6 @@ export default class Deploy extends AppCLIBaseCommand {
46
46
"app-url" : Flags . string ( {
47
47
description : deployAppMsg . APP_URL ,
48
48
} ) ,
49
- yes : Flags . boolean ( {
50
- char : "y" ,
51
- description : deployAppMsg . FORCE_DISCONNECT ,
52
- default : false ,
53
- } ) ,
54
49
"launch-project" : Flags . string ( {
55
50
multiple : false ,
56
51
options : [ "existing" , "new" ] ,
@@ -294,4 +289,4 @@ export default class Deploy extends AppCLIBaseCommand {
294
289
) ;
295
290
}
296
291
}
297
- }
292
+ }
Original file line number Diff line number Diff line change @@ -313,17 +313,14 @@ async function getProjects(
313
313
node : {
314
314
uid,
315
315
name,
316
- latestDeploymentStatus : {
317
- deployment : { url } ,
318
- environment : { uid : environmentUid } ,
319
- } ,
316
+ latestDeploymentStatus,
320
317
integrations : { developerHubApp } ,
321
318
} ,
322
319
} ) => ( {
323
320
name,
324
321
uid,
325
- url,
326
- environmentUid,
322
+ url : latestDeploymentStatus ?. deployment ?. url || null ,
323
+ environmentUid : latestDeploymentStatus ?. environment ?. uid || null ,
327
324
developerHubAppUid : developerHubApp ?. uid || null ,
328
325
} )
329
326
) ;
You can’t perform that action at this time.
0 commit comments