Commit 6bdb9ff
fix(init): reject unknown patch actions in both dry-run and real patchset paths
Previously, applyPatchsetDryRun recorded every patch as applied regardless
of its action, while the real applyPatchset silently skipped unknown actions
via default: break. Both paths now return an explicit error on unrecognized
patch actions so behavior is consistent.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 1313877 commit 6bdb9ff
1 file changed
+10
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
486 | 486 | | |
487 | 487 | | |
488 | 488 | | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
489 | 495 | | |
490 | 496 | | |
491 | 497 | | |
| |||
540 | 546 | | |
541 | 547 | | |
542 | 548 | | |
543 | | - | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
544 | 553 | | |
545 | 554 | | |
546 | 555 | | |
| |||
0 commit comments