Skip to content

Commit 43d906f

Browse files
committed
remove chalk
1 parent 5df2630 commit 43d906f

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import fs from 'fs';
44
import path, {dirname} from 'path';
55
import inquirer from 'inquirer';
6-
import chalk from 'chalk';
76
import shell from 'shelljs';
87
import {fileURLToPath} from 'url';
98
import ejs from 'ejs';
@@ -63,7 +62,7 @@ inquirer.prompt(QUESTIONS).then(answers => {
6362

6463
function createProject(projectPath: string) {
6564
if (fs.existsSync(projectPath)) {
66-
console.log(chalk.red(`Folder ${projectPath} exists. Delete or use another name.`));
65+
console.log(`Folder ${projectPath} exists. Delete or use another name.`);
6766
return false;
6867
}
6968
fs.mkdirSync(projectPath);

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"rootDir": "src",
88
"strict": true,
99
"esModuleInterop": true,
10-
"module": "ESNext", /* Specify what module code is generated. */
10+
"module": "ESNext",
1111
"moduleResolution": "node"
1212

1313
},

0 commit comments

Comments
 (0)