Commit 700a4da
committed
fix: handle DELETED status from GitHub GraphQL API
The GitHub GraphQL API returns uppercase status values (DELETED, ADDED,
MODIFIED) but the code only checked for lowercase 'removed'. This caused
deleted files to attempt content retrieval instead of being added to the
deprecation queue.
- Update status check to handle both 'DELETED' and 'removed'
- Add test case for DELETED status handling1 parent 5c14c4d commit 700a4da
2 files changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
| 130 | + | |
| 131 | + | |
131 | 132 | | |
132 | 133 | | |
133 | 134 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
731 | 731 | | |
732 | 732 | | |
733 | 733 | | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
734 | 739 | | |
735 | 740 | | |
736 | 741 | | |
| |||
0 commit comments