From 6d86c0fe28e5c5448030b8f677eb61be503f8e9f Mon Sep 17 00:00:00 2001 From: Lord Hepipud Date: Wed, 17 Aug 2022 15:26:52 +0200 Subject: [PATCH] Fixes icinga command always resetting cache --- icinga-powershell-framework.psm1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icinga-powershell-framework.psm1 b/icinga-powershell-framework.psm1 index 2816ad2..8a11df0 100644 --- a/icinga-powershell-framework.psm1 +++ b/icinga-powershell-framework.psm1 @@ -321,7 +321,7 @@ function Invoke-IcingaCommand() return "> " } - } -Args $ScriptBlock, $PSScriptRoot, $IcingaFrameworkData.PrivateData.Version, ([bool]$Shell), $ArgumentList, $DeveloperMode; + } -Args $ScriptBlock, $PSScriptRoot, $IcingaFrameworkData.PrivateData.Version, ([bool]$Shell), $ArgumentList, ([bool]$DeveloperMode); # In case we close the newly created PowerShell, ensure we set the script root back to the Framework folder if (Test-Path $PSScriptRoot) {