Skip to content

Conversation

@iSazonov
Copy link
Collaborator

@iSazonov iSazonov commented Oct 1, 2018

PR Summary

Close #7457.

The cleanup is needed after #7449 and #2538.

  • args is never null
  • We never change the args array and exclude cloning.

PR Checklist

@iSazonov iSazonov added the Issue-Code Cleanup the issue is for cleaning up the code with no impact on functionality label Oct 1, 2018
@TravisEz13
Copy link
Member

@daxian-dbw Not sure why this was there in the first place.

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.

It would be good to get a [feature] test pass on this. Thanks.

Also, @daxian-dbw any ideas regarding Travis's question? I wonder the same thing as well...

Copy link
Member

Choose a reason for hiding this comment

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

We should probably leave the null check in the code.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Is c# convention that args is never null?

@iSazonov
Copy link
Collaborator Author

@daxian-dbw Can you confirm that we can merge?

@TravisEz13 TravisEz13 merged commit c36e4ad into PowerShell:master Oct 29, 2018
@iSazonov iSazonov deleted the remove-clone-args branch October 30, 2018 03:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Issue-Code Cleanup the issue is for cleaning up the code with no impact on functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cleanup args clone

3 participants