chocolatey / choco

Chocolatey - the package manager for Windows
https://chocolatey.org
Other
10.33k stars 903 forks source link

Remove trailing semicolon in templates and tests #2807

Closed pauby closed 2 years ago

pauby commented 2 years ago

Is Your Feature Request Related To A Problem? Please describe.

This triggers whatever OCD I have.

Describe The Solution. Why is it needed?

PowerShell does not need a semicolon at the end of a line. The Chocolatey PowerShell script templates all have a semicolon at the end of the first line $ErrorActionPreference = 'Stop';. PowerShell doesn't need this and it should be removed. I also noticed this same behaviour in some tests.

Additional Context.

N/A.

Related Issues

N/A

AdmiringWorm commented 2 years ago

:tada: This issue has been resolved in version 1.2.0 :tada:

The release is available on:

Your GitReleaseManager bot :package::rocket: