File tree Expand file tree Collapse file tree 2 files changed +11
-10
lines changed
Expand file tree Collapse file tree 2 files changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -35,15 +35,16 @@ async function promptForMissingOptions(options) {
3535 // }
3636
3737 const questions = [ ] ;
38- if ( ! options . language ) {
39- questions . push ( {
40- type : "list" ,
41- name : "language" ,
42- message : "Please choose which language Schema to use" ,
43- choices : [ "JavaScript" , "TypeScript" ] ,
44- default : defaultOptions . language ,
45- } ) ;
46- }
38+ //@TODO : Temporary Disabled, Uncomment after adding Typescript Schema
39+ // if (!options.language) {
40+ // questions.push({
41+ // type: "list",
42+ // name: "language",
43+ // message: "Please choose which language Schema to use",
44+ // choices: ["JavaScript", "TypeScript"],
45+ // default: defaultOptions.language,
46+ // });
47+ // }
4748
4849 questions . push ( {
4950 type : "input" ,
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ async function createSchema(options, schemaKeyValues) {
1212 const schemaOptions = {
1313 ...options ,
1414 dirPath : path . resolve ( __dirname , "../template" ) ,
15- outPath : path . resolve ( process . cwd ( ) , "./models/" `./${ options . schema } .js` ) ,
15+ outPath : path . resolve ( process . cwd ( ) , `./${ options . schema } .js` ) ,
1616 } ;
1717
1818 console . log ( ) ;
You can’t perform that action at this time.
0 commit comments