mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Remove redundent .ToLower() in PSDiagnostics.psm1
This commit is contained in:
@@ -433,7 +433,7 @@ namespace Microsoft.PowerShell.Diagnostics
|
||||
"@
|
||||
|
||||
|
||||
if ($psedition.ToLower() -eq "core")
|
||||
if ($psedition -eq 'Core')
|
||||
{
|
||||
# Currently we only support these cmdlets as logman.exe is not working on Nano/Lot system.
|
||||
Export-ModuleMember Enable-PSTrace, Disable-PSTrace, Get-LogProperties, Set-LogProperties
|
||||
|
||||
Reference in New Issue
Block a user