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

fix check-node-versions command #16686

Merged
merged 1 commit into from
Jul 30, 2021

Conversation

deyaaeldeen
Copy link
Member

Fixes #16657

The default value for --node-version is the empty string so if the caller did not provide it, they will end up with an empty string in the list of node versions to test and because no such docker image exists, the command will fail. This PR fixes this issue by filtering out empty strings and non-numerical inputs.

@deyaaeldeen deyaaeldeen merged commit 8d09598 into Azure:main Jul 30, 2021
@deyaaeldeen deyaaeldeen deleted the fix-check-node-versions branch July 30, 2021 23:41
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.

[dev-tool] check-node-versions fails when using --node-versions flag without --node-version
2 participants