@@ -30,7 +30,6 @@ const getGeneratedFileValue = async (value = "node") => {
3030} ;
3131
3232const createFile = async ( filePath , contents ) => {
33- console . log ( "===createFile===" , filePath ) ;
3433 try {
3534 return new Promise ( ( resolve , reject ) => {
3635 fs . writeFile ( filePath , contents , "utf-8" , function ( err ) {
@@ -47,7 +46,6 @@ const createFile = async (filePath, contents) => {
4746} ;
4847
4948const overWriteFile = async ( filePath , contents ) => {
50- console . log ( "===overWriteFile===" , filePath ) ;
5149 try {
5250 return new Promise ( ( resolve , reject ) => {
5351 fs . appendFileSync ( filePath , contents , "utf-8" , function ( err ) {
@@ -65,7 +63,6 @@ const overWriteFile = async (filePath, contents) => {
6563
6664const generateGitignoreFile = async ( contents ) => {
6765 const filePath = path . resolve ( path . join ( process . cwd ( ) , ".gitignore" ) ) ;
68- console . log ( "filePath: " , filePath ) ;
6966 const isExists = await fs . existsSync ( filePath ) ;
7067 if ( isExists ) {
7168 await overWriteFile ( filePath , contents ) ;
0 commit comments