File tree Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -217,6 +217,7 @@ export class Helpers {
217
217
apiAuth : boolean ,
218
218
enableSwagger : boolean
219
219
) {
220
+
220
221
const rows = JSON . stringify ( slsinfo ) . split ( '\\n' ) as any [ ] ;
221
222
const createKeyValues = rows . map ( ( x , i , rows ) => {
222
223
if ( x . startsWith ( ' ANY -' ) ) {
@@ -296,6 +297,7 @@ export class Helpers {
296
297
}
297
298
console . log ( ) ;
298
299
console . log ( ) ;
300
+
299
301
if ( enableSwagger ) {
300
302
cli . table (
301
303
[
@@ -331,6 +333,7 @@ export class Helpers {
331
333
{ 'no-header' : true }
332
334
) ;
333
335
}
336
+
334
337
console . log ( ) ;
335
338
console . log ( ) ;
336
339
}
Original file line number Diff line number Diff line change @@ -221,11 +221,13 @@ export class CreateStackCommand extends Command {
221
221
const appConfig = JSON . parse (
222
222
fs . readFileSync ( stackFolder + '/config/appconfig.json' , 'UTF-8' )
223
223
) as AppConfig ;
224
+
224
225
Helpers . createCLIOutput (
225
226
slsinfo ,
226
227
appConfig . enableApiKeyAuth ,
227
228
appConfig . enableSwagger
228
229
) ;
230
+
229
231
} catch ( error ) {
230
232
this . log ( `${ chalk . red ( error . message ) } ` ) ;
231
233
this . log ( slsinfo ) ;
Original file line number Diff line number Diff line change @@ -184,11 +184,13 @@ export class UpdateStackCommand extends Command {
184
184
const appConfig = JSON . parse (
185
185
fs . readFileSync ( stackFolder + '/config/appconfig.json' , 'UTF-8' )
186
186
) as AppConfig ;
187
+
187
188
Helpers . createCLIOutput (
188
189
slsinfo ,
189
190
appConfig . enableApiKeyAuth ,
190
191
appConfig . enableSwagger
191
192
) ;
193
+
192
194
} catch ( error ) {
193
195
this . log ( `${ chalk . red ( error . message ) } ` ) ;
194
196
this . log ( slsinfo ) ;
You can’t perform that action at this time.
0 commit comments