Skip to content

Commit

Permalink
Merge pull request #402 from jimmyltsinn/master
Browse files Browse the repository at this point in the history
dereference symlink on copying .npmrc and .yarnrc in makePatch
  • Loading branch information
orta authored Sep 28, 2022
2 parents 63bc500 + 263f37e commit 1486859
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 1486859

Please sign in to comment.