@@ -110,15 +110,15 @@ export function makePatch({
110
110
join ( resolve ( packageDetails . path ) , "package.json" ) ,
111
111
)
112
112
113
- // copy .npmrc/.yarnrc in case packages are hosted in private registry
114
- // copy .yarn directory as well to ensure installations work in yarn 2
115
- // tslint:disable-next-line:align
116
- ; [ ".npmrc" , ".yarnrc" , ".yarn" ] . forEach ( ( rcFile ) => {
117
- const rcPath = join ( appPath , rcFile )
118
- if ( existsSync ( rcPath ) ) {
119
- copySync ( rcPath , join ( tmpRepo . name , rcFile ) , { dereference : true } )
120
- }
121
- } )
113
+ // copy .npmrc/.yarnrc in case packages are hosted in private registry
114
+ // copy .yarn directory as well to ensure installations work in yarn 2
115
+ // tslint:disable-next-line:align
116
+ ; [ ".npmrc" , ".yarnrc" , ".yarn" ] . forEach ( ( rcFile ) => {
117
+ const rcPath = join ( appPath , rcFile )
118
+ if ( existsSync ( rcPath ) ) {
119
+ copySync ( rcPath , join ( tmpRepo . name , rcFile ) , { dereference : true } )
120
+ }
121
+ } )
122
122
123
123
if ( packageManager === "yarn" ) {
124
124
console . info (
@@ -216,7 +216,7 @@ export function makePatch({
216
216
"--ignore-space-at-eol" ,
217
217
"--no-ext-diff" ,
218
218
"--src-prefix=a/" ,
219
- "--dst-prefix=b/"
219
+ "--dst-prefix=b/" ,
220
220
)
221
221
222
222
if ( diffResult . stdout . length === 0 ) {
@@ -306,6 +306,7 @@ export function makePatch({
306
306
packageDetails,
307
307
patchFileContents : diffResult . stdout . toString ( ) ,
308
308
packageVersion,
309
+ patchPath,
309
310
} )
310
311
} else {
311
312
maybePrintIssueCreationPrompt ( packageDetails , packageManager )
0 commit comments