Open opoplawski opened 6 months ago
Add -NoNewline to the Set-Content call to avoid adding an extra newline to install.ps1 voiding the signature
Set-Content is adding a newline to the end of the install.ps1 file.
This is not PowerShell v2 compliant, so not sure how to handle that.
Breaks the signature of the file
- hosts: windows gather_facts: false tasks: - name: "Install chocolatey" win_chocolatey: name: - chocolatey state: latest
Windows 11 Enterprise
Fixes #141
Add -NoNewline to the Set-Content call to avoid adding an extra newline to install.ps1 voiding the signature
Description Of Changes
Set-Content is adding a newline to the end of the install.ps1 file.
This is not PowerShell v2 compliant, so not sure how to handle that.
Motivation and Context
Breaks the signature of the file
Testing
Operating Systems Testing
Windows 11 Enterprise
Change Types Made
Change Checklist
Related Issue
Fixes #141