Skip to content

Commit

Permalink
fix: Callback error fix for renaming .gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
bafxyz committed May 16, 2019
1 parent 46f1739 commit 913d107
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,11 @@ const editFiles = async projectName => {

fs.rename(
`${__dirname}/starter-kit/gitignore`,
`${__dirname}/starter-kit/.gitignore`
`${__dirname}/starter-kit/.gitignore`,
function (err) {
if (err) throw err;
console.log('renamed complete');
}
);
};

Expand Down

0 comments on commit 913d107

Please sign in to comment.