diff --git a/src/makePatch.ts b/src/makePatch.ts index 13376b11..1db5e87c 100644 --- a/src/makePatch.ts +++ b/src/makePatch.ts @@ -163,7 +163,7 @@ export function makePatch({ // remove nested node_modules just to be safe rimraf(join(tmpRepoPackagePath, "node_modules")) // remove .git just to be safe - rimraf(join(tmpRepoPackagePath, "node_modules")) + rimraf(join(tmpRepoPackagePath, ".git")) // commit the package console.info(chalk.grey("•"), "Diffing your files with clean files")