SNPowerShell is only for Windows, remove OS check
-
Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA. As a benefit of being a GitLab Community Contributor, you receive complimentary access to GitLab Duo.
What does this MR do?
It removes OS check when testing for shell powershell
This MR is a cleanup before !5443 (closed). It doesn't go as far as reverting commit 5aa41d29 because that may be too much.
Why was this MR needed?
!5103 (merged) introduced a shell and OS check to apply special quoting during GetGitCredHelperCommand, which led to !5384 (merged)
However, since PowerShell (Desktop) 5.1 is only available for Windows, checking the OS was not necessary.
What's the best way to test this MR?
See !5384 (merged)
What are the relevant issue numbers?
Edited by Guillaume Chauvel