Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(GH-2203) Get-ChocolateyUnzip add unzipLocation as an alias to Destination #2204

Merged
merged 1 commit into from
Apr 16, 2021

Conversation

TheCakeIsNaOH
Copy link
Member

Fixes #2203

@ferventcoder
Copy link
Member

Howdy @TheCakeIsNaOH ! This pull request looks fine for code, however the commit needs a bit more. Have you read over the CONTRIBUTING?

Even though this isn't much more than adding an alias, the commit message body should have all of the reasoning in it so when we look back in three years (and we do this all the time) we'll understand why the change was made.

@ferventcoder
Copy link
Member

@TheCakeIsNaOH
Copy link
Member Author

@ferventcoder fixed.

Copy link
Member

@gep13 gep13 left a comment

Choose a reason for hiding this comment

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

LGTM!

Install-ChocolateyZipPackage already has a Destination alias to
UnzipLocation. This adds the inverse case, so Get-ChocolateyUnzip has
an alias UnzipLocation to the Destination parameter. The reason for
adding this is to reduce frustration from adding the wrong parameter
name, and then having to fix it.
@gep13 gep13 changed the base branch from master to stable April 16, 2021 13:15
@gep13
Copy link
Member

gep13 commented Apr 16, 2021

@TheCakeIsNaOH thanks for getting this added! Once the CI builds are finished we can get this merged.

@gep13 gep13 merged commit 759a416 into chocolatey:stable Apr 16, 2021
@TheCakeIsNaOH TheCakeIsNaOH deleted the add-alias branch September 22, 2021 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support UnzipLocation as an alias to Destination parameter in the Get-ChocolateyUnzip function
3 participants