File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ async function createModules(app_name,language) {
7474 if ( AppType === "CRUD" ) {
7575 StackParams = { ...StackParams , ... await CRUDObject ( stackName , AppType ) } ;
7676 } else {
77- paramModule = await util . params ( AppType ) ;
77+
7878 obj [ stackName ] = basecrud ;
7979 StackParams = { ...obj } ;
8080 }
@@ -173,7 +173,6 @@ async function run(argv: AnyObject) {
173173 let app_name = res [ "appname" ]
174174 let language = res [ "language" ]
175175 let file_name = res [ "filename" ]
176- let CompStacks = res [ "compstack" ]
177176
178177 template = await createModules ( app_name , language )
179178 template [ "file_name" ] = file_name
Original file line number Diff line number Diff line change @@ -17,11 +17,11 @@ let envpattern =new RegExp(/^env\d\d+$/g)
1717let apipathpattern = new RegExp ( / ^ \/ [ a - z A - Z ] * ( \/ [ a - z A - Z ] * - * ) * / g)
1818let stringpattern = new RegExp ( / ^ [ A - Z a - z ] + $ / g)
1919
20- export let s3Choice :any = [ ] ;
20+ export let s3Choice :AnyArray = [ ] ;
2121export let accesskey :any , secretkey :any ;
2222
23- export let multichoice = async function ( name : string , choice : any , messages = [ ] ) {
24- if ( messages = [ ] ) "Please select your " + name . charAt ( 0 ) . toUpperCase ( ) + name . slice ( 1 ) + " :"
23+ export let multichoice = async function ( name : string , choice : any ) {
24+ let messages = "Please select your " + name . charAt ( 0 ) . toUpperCase ( ) + name . slice ( 1 ) + " :"
2525 let r = await inquirer . prompt ( [
2626 {
2727 type : "checkbox" ,
You can’t perform that action at this time.
0 commit comments