File tree 1 file changed +4
-5
lines changed
1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -423,7 +423,7 @@ export function makePatch({
423
423
sequenceNumber,
424
424
} )
425
425
426
- const patchPath = join ( patchesDir , patchFileName )
426
+ const patchPath : string = join ( patchesDir , patchFileName )
427
427
if ( ! existsSync ( dirname ( patchPath ) ) ) {
428
428
// scoped package
429
429
mkdirSync ( dirname ( patchPath ) )
@@ -524,12 +524,10 @@ export function makePatch({
524
524
525
525
if ( isRebasing || numPatchesAfterCreate > 1 ) {
526
526
savePatchApplicationState ( {
527
+ isRebasing : didFailWhileFinishingRebase ,
527
528
packageDetails,
528
- patchFileContents : diffResult . stdout . toString ( ) ,
529
- packageVersion,
530
- patchPath,
531
529
patches : nextState ,
532
- isRebasing : didFailWhileFinishingRebase ,
530
+ // patchFileContents: diffResult.stdout.toString() ,
533
531
} )
534
532
} else {
535
533
clearPatchApplicationState ( packageDetails )
@@ -541,6 +539,7 @@ export function makePatch({
541
539
packageDetails,
542
540
patchFileContents : diffResult . stdout . toString ( ) ,
543
541
packageVersion,
542
+ patchPath,
544
543
} )
545
544
} else {
546
545
maybePrintIssueCreationPrompt ( vcs , packageDetails , packageManager )
You can’t perform that action at this time.
0 commit comments