File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -82,8 +82,7 @@ async function run(argv:AnyObject) {
8282 } while ( moreStack !== 'No' ) {
8383 template = { ...app_name , language } ;
8484 if ( stack_names !== null ) template = { ...template , Stacks : stack_names , StackParams} ;
85- if ( customStacks !== null )
86- template = { ...template , CustomStacks : customStacks } ;
85+ if ( customStacks !== null ) template = { ...template , CustomStacks : customStacks } ;
8786
8887 await rover_utilities . generationSAM ( ( { template} ) [ "template" ] ) ;
8988 }
Original file line number Diff line number Diff line change @@ -534,10 +534,10 @@ export let samValidate=function(){
534534 }
535535 } )
536536 if ( ! response . includes ( true ) ) {
537- throw ( "improper SAM Template file ")
537+ throw new Error ( " SAM Template error \n ")
538538 }
539539 } catch ( error ) {
540- throw ( "Not a SAM file : " + error )
540+ throw new Error ( "Not a SAM file or " + error )
541541 }
542542
543543}
You can’t perform that action at this time.
0 commit comments