@@ -423,7 +423,7 @@ export function makePatch({
423423 sequenceNumber,
424424 } )
425425
426- const patchPath = join ( patchesDir , patchFileName )
426+ const patchPath : string = join ( patchesDir , patchFileName )
427427 if ( ! existsSync ( dirname ( patchPath ) ) ) {
428428 // scoped package
429429 mkdirSync ( dirname ( patchPath ) )
@@ -524,12 +524,10 @@ export function makePatch({
524524
525525 if ( isRebasing || numPatchesAfterCreate > 1 ) {
526526 savePatchApplicationState ( {
527+ isRebasing : didFailWhileFinishingRebase ,
527528 packageDetails,
528- patchFileContents : diffResult . stdout . toString ( ) ,
529- packageVersion,
530- patchPath,
531529 patches : nextState ,
532- isRebasing : didFailWhileFinishingRebase ,
530+ // patchFileContents: diffResult.stdout.toString() ,
533531 } )
534532 } else {
535533 clearPatchApplicationState ( packageDetails )
@@ -541,6 +539,7 @@ export function makePatch({
541539 packageDetails,
542540 patchFileContents : diffResult . stdout . toString ( ) ,
543541 packageVersion,
542+ patchPath,
544543 } )
545544 } else {
546545 maybePrintIssueCreationPrompt ( vcs , packageDetails , packageManager )
0 commit comments