Skip to content

Conversation

@SteveL-MSFT
Copy link
Member

@SteveL-MSFT SteveL-MSFT commented Aug 3, 2018

PR Summary

The current code expects a positive result so it tries to index into an empty list. Fix is to check if the count is greater than 0 before indexing into it.

PR Checklist

@daxian-dbw daxian-dbw merged commit 36dc96a into PowerShell:master Aug 6, 2018
@SteveL-MSFT SteveL-MSFT deleted the addtype-notfound-assembly branch August 7, 2018 22:39
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.

3 participants