Skip to content

Commit 1486859

Browse files
authored
Merge pull request #402 from jimmyltsinn/master
dereference symlink on copying .npmrc and .yarnrc in makePatch
2 parents 63bc500 + 263f37e commit 1486859

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/makePatch.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ export function makePatch({
115115
;[".npmrc", ".yarnrc"].forEach((rcFile) => {
116116
const rcPath = join(appPath, rcFile)
117117
if (existsSync(rcPath)) {
118-
copySync(rcPath, join(tmpRepo.name, rcFile))
118+
copySync(rcPath, join(tmpRepo.name, rcFile), { dereference: true })
119119
}
120120
})
121121

0 commit comments

Comments
 (0)