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.
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