@@ -30,7 +30,6 @@ const getGeneratedFileValue = async (value = "node") => {
30
30
} ;
31
31
32
32
const createFile = async ( filePath , contents ) => {
33
- console . log ( "===createFile===" , filePath ) ;
34
33
try {
35
34
return new Promise ( ( resolve , reject ) => {
36
35
fs . writeFile ( filePath , contents , "utf-8" , function ( err ) {
@@ -47,7 +46,6 @@ const createFile = async (filePath, contents) => {
47
46
} ;
48
47
49
48
const overWriteFile = async ( filePath , contents ) => {
50
- console . log ( "===overWriteFile===" , filePath ) ;
51
49
try {
52
50
return new Promise ( ( resolve , reject ) => {
53
51
fs . appendFileSync ( filePath , contents , "utf-8" , function ( err ) {
@@ -65,7 +63,6 @@ const overWriteFile = async (filePath, contents) => {
65
63
66
64
const generateGitignoreFile = async ( contents ) => {
67
65
const filePath = path . resolve ( path . join ( process . cwd ( ) , ".gitignore" ) ) ;
68
- console . log ( "filePath: " , filePath ) ;
69
66
const isExists = await fs . existsSync ( filePath ) ;
70
67
if ( isExists ) {
71
68
await overWriteFile ( filePath , contents ) ;
0 commit comments