Skip to content

Win Optimizer v2.1.1 - CI & Lint Fixes

Latest

Choose a tag to compare

@yymhai yymhai released this 10 May 03:50

Fixes since v2.1.0

  • PSUseApprovedVerbs: function Main -> Invoke-Main
  • PSAvoidUsingEmptyCatchBlock: 12 empty catch {} -> catch { $null }
  • PSAvoidUsingWriteHost: Add SuppressMessageAttribute
  • PSAvoidIncorrectComparisonWithNull: $null -eq instead of -eq $null
  • Report title: v2.0 -> v2.1
  • CI: Exclude non-critical rules for system optimization scripts

All PSScriptAnalyzer checks now pass.