Skip to content

Commit b810120

Browse files
tylerjusflyIfycode
authored andcommitted
fix: added spaces before type
1 parent 1eb73d1 commit b810120

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/prompts/foldername.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ import inquirer from 'inquirer';
22
import chalk from 'chalk';
33
import 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+)/);

0 commit comments

Comments
 (0)