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

Only add the RemainingArguments if they are defined. #20797

Merged
merged 1 commit into from
May 1, 2020

Conversation

lajones
Copy link
Contributor

@lajones lajones commented Apr 30, 2020

There's a bug where if you pass no remaining arguments to the Powershell commands you get the error:

You cannot call a method on a null-valued expression.

This fixes that.

@lajones lajones requested a review from bricelam April 30, 2020 23:55
@lajones lajones self-assigned this Apr 30, 2020
@lajones lajones merged commit f208063 into master May 1, 2020
@lajones lajones deleted the 20200430_NoRemainingArgs_01 branch May 1, 2020 00:54
@lajones
Copy link
Contributor Author

lajones commented May 1, 2020

Note: further update to #20341

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