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

Use Approved Verbs in Install-WinUtilProgramChoco.ps1 #2912

Merged

Conversation

ruxunderscore
Copy link
Contributor

A simple change to Verbs to be in the list of Approved Verbs as expected by the Powershell coding standards. In powershell/pwsh run Get-Verb, to generate a list.

Type of Change

  • Refactoring

Description

Check-UpgradeNeeded -> Test-UpgradeNeeded
Run-ChocoCommand -> Invoke-ChocoCommand

Testing

Compiled and Tested Installing and Uninstall with Prefer Chocolatey selected.

Checklist

  • My code adheres to the coding and style guidelines of the project.
  • I have performed a self-review of my own code.
  • My changes generate no errors/warnings/merge conflicts.

Check-UpgradeNeeded -> Test-UpgradeNeeded
Run-ChocoCommand -> Invoke-ChocoCommand
@ChrisTitusTech ChrisTitusTech merged commit 66e6aa7 into ChrisTitusTech:main Nov 7, 2024
1 check passed
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.

3 participants