Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

filter available package versions individually by buildtools #1201

Merged
merged 1 commit into from
May 22, 2016

Conversation

tsloughter
Copy link
Collaborator

Fix for #1200

true
end;
Vsns1 = [V || V <- Vsns, ets:member(?PACKAGE_TABLE, {Pkg, V})],
ets:insert(?PACKAGE_TABLE, {Pkg, Vsns1});
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If No version matches, you may enter an empty list in the table.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I figured that was fine/expected. But I can modify it to only insert if one matches.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, yea, that'll be better for the pkgs command.

@ferd ferd merged commit bf085b9 into erlang:master May 22, 2016
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.

None yet

2 participants