Skip to content

Commit

Permalink
fix: removed unused code
Browse files Browse the repository at this point in the history
- Wipe $WinVer var (PSScriptAnalyzer)
  • Loading branch information
LeDragoX committed Jun 9, 2022
1 parent 1c6d839 commit ae3b076
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/scripts/personal-tweaks.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ function Register-PersonalTweaksList() {
)
)
$TweakType = "Personal"
$WinVer = (Get-CimInstance -class Win32_OperatingSystem).Caption

If ($Revert) {
Write-Status -Symbol "<" -Type $TweakType -Status "Reverting the tweaks is set to '$Revert'." -Warning
Expand Down

0 comments on commit ae3b076

Please sign in to comment.