diff --git a/module/PowerShellEditorServices/Start-EditorServices.ps1 b/module/PowerShellEditorServices/Start-EditorServices.ps1 index c61503c65..7536635d9 100644 --- a/module/PowerShellEditorServices/Start-EditorServices.ps1 +++ b/module/PowerShellEditorServices/Start-EditorServices.ps1 @@ -49,9 +49,9 @@ param( [ValidateSet("Diagnostic", "Verbose", "Normal", "Warning", "Error", "Trace", "Debug", "Information", "Critical", "None")] $LogLevel, - [ValidateNotNullOrEmpty()] - [string] - $SessionDetailsPath, + [ValidateNotNullOrEmpty()] + [string] + $SessionDetailsPath, [switch] $EnableConsoleRepl, @@ -107,13 +107,5 @@ param( $DebugServiceOutPipeName ) -#Translate legacy PSES log levels to MEL levels -$LogLevel = switch ($LogLevel) { - 'Diagnostic' { 'Trace' } - 'Verbose' { 'Debug' } - 'Normal' { 'Information' } - default { $LogLevel } -} - Import-Module -Name "$PSScriptRoot/PowerShellEditorServices.psd1" Start-EditorServices @PSBoundParameters