Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Remove AddTypeCommandBase class#5407

Merged
iSazonov merged 2 commits intoPowerShell:masterfrom
iSazonov:remove-addtypecommandbase
Nov 17, 2017
Merged

Remove AddTypeCommandBase class#5407
iSazonov merged 2 commits intoPowerShell:masterfrom
iSazonov:remove-addtypecommandbase

Conversation

@iSazonov
Copy link
Collaborator

@iSazonov iSazonov commented Nov 10, 2017

As discussed in #5158:

  • Remove AddTypeCommandBase class.
  • Minor code cleanups.
  • Fix comments.

After the cleanups we can continue to improve Add-Type cmdlet.

Remove AddTypeCommandBase class.
Minor code cleanups.
Fix comments.
@iSazonov iSazonov force-pushed the remove-addtypecommandbase branch from d347d8e to 0648dfc Compare November 14, 2017 10:27
@iSazonov iSazonov added the Breaking-Change breaking change that may affect users label Nov 15, 2017
@iSazonov
Copy link
Collaborator Author

@daxian-dbw @SteveL-MSFT Can we review and merge before RC? - it is formally breaking change.

@SteveL-MSFT
Copy link
Member

Although technically a breaking change, I think the risk is low that we can take it after 6.0.0 rather than delay the RC


if (value != null)
{
String.Join("\n", value);
Copy link
Contributor

Choose a reason for hiding this comment

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

It looks like this was never completed. Shouldn't this be:
sourceCode = String.Join("\n", value);
Then remove the loop.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

My bad.
Fixed.

@lzybkr lzybkr removed their request for review November 16, 2017 00:31
@iSazonov iSazonov merged commit 7e3a2a2 into PowerShell:master Nov 17, 2017
@iSazonov iSazonov deleted the remove-addtypecommandbase branch November 17, 2017 03:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Breaking-Change breaking change that may affect users

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants