Commit bdead09
committed
fix: mainブランチとのコンフリクトを解消
SessionEnd JSON出力対応の統合時に発生した実装の不一致を修正。
変更内容:
- README.md: SessionEndをJSON Output Eventsリストに移動(Legacy Exit Codeから削除)
- hooks.go: runHooks関数からSessionEndケースを削除(JSON出力はRunSessionEndHooksを使用)
- hooks_test.go: executeSessionEndHooks(旧版)を削除し、TestExecuteSessionEndHooksJSON(origin/main版)に置き換え
これにより、SessionEnd JSON出力対応がorigin/mainの実装と完全に一致し、
mainブランチへのマージ時にコンフリクトが発生しなくなる。1 parent 948513a commit bdead09
3 files changed
+127
-234
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
626 | 626 | | |
627 | 627 | | |
628 | 628 | | |
629 | | - | |
| 629 | + | |
630 | 630 | | |
631 | 631 | | |
632 | 632 | | |
633 | 633 | | |
634 | 634 | | |
635 | | - | |
| 635 | + | |
636 | 636 | | |
637 | 637 | | |
638 | 638 | | |
639 | 639 | | |
640 | 640 | | |
641 | | - | |
| 641 | + | |
642 | 642 | | |
643 | 643 | | |
644 | 644 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | 59 | | |
67 | 60 | | |
68 | 61 | | |
| |||
0 commit comments