Commit 9bca3f5
⚙️ [Maintenance]: Module source tests align with latest PowerShell LTS (#419)
Module source validation no longer carries the obsolete PowerShell 5.1
ternary compatibility rule. PSModule modules targeting the latest
PowerShell LTS can use ternary operators without an outdated framework
restriction.
## Changed: Ternary operators are allowed
The source-code test suite no longer checks for or supports bypassing
the retired `NoTernary` rule. No other source-code rules change.
## Technical Details
- Removed the `NoTernary` Pester test and its `#SkipTest:NoTernary:`
handling from
`.github/actions/Test-PSModule/src/tests/SourceCode/PSModule/PSModule.Tests.ps1`.
- This maintenance change was explicitly authorized by direct user
request without a linked issue.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>1 parent fb1bdb8 commit 9bca3f5
1 file changed
Lines changed: 0 additions & 18 deletions
Lines changed: 0 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | 166 | | |
185 | 167 | | |
186 | 168 | | |
| |||
0 commit comments