Skip to content

Commit

Permalink
dereference symlink on copying .npmrc and .yarnrc
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmyltsinn committed Jun 28, 2022
1 parent 5c2c92b commit 263f37e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/makePatch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export function makePatch({
;[".npmrc", ".yarnrc"].forEach((rcFile) => {
const rcPath = join(appPath, rcFile)
if (existsSync(rcPath)) {
copySync(rcPath, join(tmpRepo.name, rcFile))
copySync(rcPath, join(tmpRepo.name, rcFile), { dereference: true })
}
})

Expand Down

0 comments on commit 263f37e

Please sign in to comment.