Skip to content

fix(ranges): return only lts/active when it's the only lts range asked for - #117

Merged
bnb merged 1 commit into
mainfrom
bnb/ranges-lts-active
Oct 28, 2026
Merged

bnb merged 1 commit into
mainfrom
bnb/ranges-lts-active

Conversation

@botandbang

Copy link
Copy Markdown
Contributor

ranges('lts/active') returned lts/latest and lts/maintenance too, because only array filters were cleaned up. ranges(['all', 'lts/active']) set those two ranges to undefined even though all asks for everything. The cleanup now treats a string filter as a one-item list, skips when all is requested, and deletes the keys instead of setting them to undefined. Adds a test for each case.

@bnb
bnb merged commit 946910b into main Oct 28, 2026
15 checks passed
@bnb
bnb deleted the bnb/ranges-lts-active branch October 28, 2026 19:53
@nodevu-ci nodevu-ci Bot mentioned this pull request Oct 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants