GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — Fix GetLocationCommand output type parameter set and style issues by Meir017 · Pull Request #8324 · PowerShell/PowerShell Conversation
|
| [OutputType(typeof(PathInfo), ParameterSetName = new string[] { "locationSet" })] | ||
| [OutputType(typeof(PathInfoStack), ParameterSetName = new string[] { "Stack" })] | ||
| [Cmdlet(VerbsCommon.Get, "Location", DefaultParameterSetName = locationSet, SupportsTransactions = true, HelpUri = "https://go.microsoft.com/fwlink/?LinkID=113321")] | ||
| [OutputType(typeof(PathInfo), ParameterSetName = new string[] { locationSet })] |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
the output was set to a non existing ParameterSetName
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
CodeFactor fails because of |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Please use our template for PR description.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Meir Blachman (@Meir017) Please add more information in PR description about that you want fix. It is not clear wgy you remove GetResolvedPaths and RenameItem.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| /// <summary> | ||
| /// The string declaration for the Location parameter set in this command. | ||
| /// </summary> | ||
| private const string PathParameterSet = "Path"; |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Please remove such obvious comments. I see they already was there but it is bad pattern.
Below too.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| return; | ||
| } | ||
| } | ||
| } // ProcessRecord |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Please remove the comment.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| _names = value; | ||
| } // set | ||
| } // LiteralName | ||
| } // |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Please remove //
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| } | ||
| get => _force; | ||
| set => _force = value; | ||
| } // Force |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Please remove '// Force'
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Meir Blachman (@Meir017) Please look test failures - something was broken in first commits. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Ilya (@iSazonov) btw to remove the |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Ilya (@iSazonov) Done |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Meir Blachman (@Meir017) Thanks for your contribution! Could you please look CodeFactor issues https://www.codefactor.io/repository/github/powershell/powershell/pull/8324 ? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
many of the changes are about the file |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Don't worry too much about anything that's in code files you haven't touched; just focus on the handful that are in or around the code you've modified. 😄 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Restart CI-macos. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Meir Blachman (@Meir017) Thanks for your contribution! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.