Make PackageName default to ChocolateyPackageName
Open
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
Assessment
This issue has not been assessed yet.