mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 04:36:39 +00:00
Remove redundent .ToLower() in PSDiagnostics.psm1
This commit is contained in:
1 parent
eacfd9418c
commit
f68660511d
1 file changed
+1
-1
@@ -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