Remove redundent .ToLower() in PSDiagnostics.psm1

This commit is contained in:
Manikyam Bavandla
2016-08-03 15:53:31 -07:00
parent eacfd9418c
commit f68660511d
@@ -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