You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- The regex requires at least one valid package token between commas, so consecutive commas are rejected
142
+
- Split the captured value by comma, trim each entry, and (defensively) discard empty entries
143
+
- Reconstruct `rotation.json` as:
144
+
-`last_packages`: recovered package list
145
+
-`last_index`: build a map of `eligible_package -> eligible_list_index`, then scan recovered packages left-to-right and keep the index for the last package in the recovered list that exists in the eligible map; if no recovered package matches, use `-1`
0 commit comments