chocolatey / chocolatey/choco

Make PackageName default to ChocolateyPackageName

Open
#1,716 7 comments 0 reactions 1 assignee Claimed by @cowmanjoe View on GitHub
1 - Ready Enhancement Priority - Low Up For Grabs
Dominant language
C#
Stars
11.5k
Forks
960
PR merge metrics
No merged PRs in 30d

Description

Following helpers have a parameter `-PackageName`:
- `Install-ChocolateyZipPackage`
- `Get-ChocolateyUnzip`

When they are used in install scripts (which is likely to be the case), this parameter seems redundant since we already have `$env:ChocolateyPackageName`. It would be great to let it default to `$env:ChocolateyPackageName` when this environment variable is available.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.