File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2,11 +2,11 @@ import inquirer from 'inquirer';
22import chalk from 'chalk' ;
33import fs from 'fs' ;
44
5- export const folderNameMissingOptionPrompt = async ( options :any ) => {
5+ export const folderNameMissingOptionPrompt = async ( options : any ) => {
66 let defaultFolderName = 'nm-kit' ;
77 const folderQuestions : any [ ] = [ ] ;
88
9- let questionPush = ( msgString : string , folder : string | null ) => {
9+ let questionPush = ( msgString : string , folder : string | null ) => {
1010 folderQuestions . push ( {
1111 type : 'input' ,
1212 name : 'folderName' ,
@@ -16,7 +16,7 @@ export const folderNameMissingOptionPrompt = async (options:any) => {
1616 }
1717
1818 const rootDir = process . cwd ( ) ;
19- const rootDirContent = fs . readdirSync ( rootDir , ( err :any , files :any ) => {
19+ const rootDirContent = fs . readdirSync ( rootDir , ( err : any , files : any ) => {
2020 if ( err ) {
2121 throw err ;
2222 }
@@ -30,7 +30,7 @@ export const folderNameMissingOptionPrompt = async (options:any) => {
3030 return content . match ( defaultFolderName ) ;
3131 } ) ;
3232
33- let folderNameAnswers :any ;
33+ let folderNameAnswers : any ;
3434
3535 let extractedNumbers = matchDefaultValue . map ( ( value ) => {
3636 let valueMatch = value . match ( / ( \d + ) / ) ;
You can’t perform that action at this time.
0 commit comments