mirror of
https://github.com/Icinga/icinga-powershell-framework.git
synced 2025-12-20 23:00:35 -05:00
Removed debug output for New-CheckCommand Cmdlet
This commit is contained in:
parent
289b1a1ed5
commit
dbbb440eac
1 changed files with 0 additions and 4 deletions
|
|
@ -80,10 +80,6 @@ function New-IcingaCheckCommand()
|
|||
$DefaultEditor = (Get-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.psm1\OpenWithList' -Name a).a;
|
||||
$DefaultEditor = $DefaultEditor.Replace('.exe', '');
|
||||
|
||||
Write-Host ([string]::IsNullOrEmpty($DefaultEditor));
|
||||
Write-Host ((Get-Command $DefaultEditor -ErrorAction SilentlyContinue));
|
||||
Write-Host ((Test-Path $DefaultEditor));
|
||||
|
||||
if ([string]::IsNullOrEmpty($DefaultEditor) -eq $FALSE -And ((Get-Command $DefaultEditor -ErrorAction SilentlyContinue) -eq $null) -And ((Test-Path $DefaultEditor) -eq $FALSE)) {
|
||||
Write-Host 'No default editor for .psm1 files found. Specify a default editor to automaticly open the newly generated check plugin.';
|
||||
return;
|
||||
|
|
|
|||
Loading…
Reference in a new issue