Skip to content

Commit c200cc6

Browse files
authored
Merge pull request #543 from Icinga:fix/developer_mode_option_causes_always_cache_reset_while_using_icinga
Fix: icinga command always resetting cache Fixes the `icinga` command which always resets the Framework cache, caused by newly introduced `Developer Mode`
2 parents b7a0d38 + 6d86c0f commit c200cc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

icinga-powershell-framework.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ function Invoke-IcingaCommand()
321321
return "> "
322322
}
323323

324-
} -Args $ScriptBlock, $PSScriptRoot, $IcingaFrameworkData.PrivateData.Version, ([bool]$Shell), $ArgumentList, $DeveloperMode;
324+
} -Args $ScriptBlock, $PSScriptRoot, $IcingaFrameworkData.PrivateData.Version, ([bool]$Shell), $ArgumentList, ([bool]$DeveloperMode);
325325

326326
# In case we close the newly created PowerShell, ensure we set the script root back to the Framework folder
327327
if (Test-Path $PSScriptRoot) {

0 commit comments

Comments
 (0)