We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87376c3 commit d0899f7Copy full SHA for d0899f7
module/PowerShellEditorServices/Start-EditorServices.ps1
@@ -78,10 +78,12 @@ param(
78
$DEFAULT_USER_MODE = "600"
79
80
if ($LogLevel -eq "Diagnostic") {
81
- $VerbosePreference = 'Continue'
+ if (!$Stdio.IsPresent) {
82
+ $VerbosePreference = 'Continue'
83
+ }
84
$scriptName = [System.IO.Path]::GetFileNameWithoutExtension($MyInvocation.MyCommand.Name)
85
$logFileName = [System.IO.Path]::GetFileName($LogPath)
- Start-Transcript (Join-Path (Split-Path $LogPath -Parent) "$scriptName-$logFileName") -Force
86
+ Start-Transcript (Join-Path (Split-Path $LogPath -Parent) "$scriptName-$logFileName") -Force | Out-Null
87
}
88
89
function LogSection([string]$msg) {
0 commit comments