Skip to content

Conversation

@jsoref
Copy link
Contributor

@jsoref jsoref commented Aug 25, 2016

This isn't meant as a real pull request. While working on https://github.com/jsoref/PowerShell/tree/spelling I came across two tokens for which I wasn't particularly certain what the intended words were.

If someone could identify the correct words, I'd be happy to include them in a pull request.

@msftclas
Copy link

Hi @jsoref, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!

The agreement was validated by Microsoft and real humans are currently evaluating your PR.

TTYL, MSBOT;

Copy link
Contributor Author

Choose a reason for hiding this comment

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

My assumption is that the two ls are just stray, but it's pretty odd...

Copy link
Contributor

Choose a reason for hiding this comment

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

Agreed, it's New-PackageSource.

Copy link
Member

Choose a reason for hiding this comment

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

Looks like New-PacakageSource got inserted in the middle of the word "call"

@mirichmo
Copy link
Member

@jsoref It looks like you got the information that you needed. I'd like to close this PR unless you are going to update it with merge-able fixes.

@jsoref
Copy link
Contributor Author

jsoref commented Aug 26, 2016

If you're OK with one stray PR for a little bit, I'd rather have one than repeatedly opening additional ones (the bot is annoying). If I don't put anything into it in two weeks, please feel free to close it. But it's not a huge deal if you want to close it sooner...

Yes, I've taken these two answers.

//private const string DelegateComputerParam = "DelegateComputer";
//private String[] delegatecomputer;
//private RuntimeDefinedParameterDictionary dyanmicParameters = new RuntimeDefinedParameterDictionary();
//private RuntimeDefinedParameterDictionary dynamicParameters = new RuntimeDefinedParameterDictionary();
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't understand how this works... Are these // marks not actually comments? Or is this file not compiled?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@mirichmo can you find someone who can comment on this? thanks.

Copy link
Collaborator

Choose a reason for hiding this comment

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

I researched the history and that's how the code was originally written in 2009 :)

I think it's safe to remove this commented-out code.

@jsoref
Copy link
Contributor Author

jsoref commented Aug 31, 2016

I can provide a commit to talk about unsecure as well, normally the word used is insecure. But for now, I'll just provide a link: https://github.com/PowerShell/PowerShell/search?utf8=%E2%9C%93&q=unsecure

@mirichmo?

@lzybkr
Copy link
Contributor

lzybkr commented Aug 31, 2016

All of the unsecure hits in the search should be left alone as they are either a public api, or commenting on a public api using unsecure in the api.

@jsoref
Copy link
Contributor Author

jsoref commented Aug 31, 2016

@lzybkr ok

@vors
Copy link
Collaborator

vors commented Sep 2, 2016

I opened #2171 for the unused code.
I don't think we should change the spelling in this code because it's likely would be removed soon.

With that, it looks like all other things have been discussed, so I'm going to close the PR.
Feel free to reopen it, if you want to continue the discussion.

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.

7 participants