Skip to content

Commit e8c8a40

Browse files
authored
Merge pull request #231 from Haroenv/patch-1
propose change for #220
2 parents 38b4173 + f50e473 commit e8c8a40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/makePatch.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ export function makePatch({
163163
// remove nested node_modules just to be safe
164164
rimraf(join(tmpRepoPackagePath, "node_modules"))
165165
// remove .git just to be safe
166-
rimraf(join(tmpRepoPackagePath, "node_modules"))
166+
rimraf(join(tmpRepoPackagePath, ".git"))
167167

168168
// commit the package
169169
console.info(chalk.grey("•"), "Diffing your files with clean files")

0 commit comments

Comments
 (0)