Skip to content

Conversation

daxian-dbw
Copy link
Member

Address #4164
Examine the code in ProxyCommand.cs to find out specific missing areas.

@daxian-dbw daxian-dbw self-assigned this Sep 8, 2017
@daxian-dbw daxian-dbw requested a review from anmenaga September 8, 2017 23:41
$newParameters = @($newHelpObj.parameters.parameter)
$oldParameters.Length | Should Be $newParameters.Length
for ($i = 0; $i -lt $oldParameters.Length; $i++) {
$oldParameters[$i].name | Should Be $newParameters[$i].name
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do we really want report every value? Can we use Compare-Object to be fast?

Copy link
Member Author

Choose a reason for hiding this comment

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

Replaced with $oldParameters.name -join "," | Should Be ($newParameters.name -join ",")

Copy link

@anmenaga anmenaga left a comment

Choose a reason for hiding this comment

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

LGTM

[string] $Message
)

DynamicParam {

Choose a reason for hiding this comment

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

Why DynamicParams are needed here?

Choose a reason for hiding this comment

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

Nevermind; I see it in the nd of the file.

@daxian-dbw
Copy link
Member Author

Thanks @anmenaga!

@daxian-dbw daxian-dbw merged commit ad0b4cc into PowerShell:master Sep 11, 2017
@daxian-dbw daxian-dbw deleted the proxy branch September 11, 2017 21:06
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.

4 participants