Skip to content

Commit da43b7c

Browse files
committed
log removed
1 parent b00ebdb commit da43b7c

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

app.js

-3
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ const getGeneratedFileValue = async (value = "node") => {
3030
};
3131

3232
const 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

4948
const 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

6664
const 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);

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gigen",
3-
"version": "0.0.6",
3+
"version": "0.0.8",
44
"description": ".gitignore file generate",
55
"main": "app.js",
66
"scripts": {

0 commit comments

Comments
 (0)