From f6ed6ac487d493b4bef3aea4322362edec01e60f Mon Sep 17 00:00:00 2001 From: Jeffrey <9938813+Raphire@users.noreply.github.com> Date: Thu, 28 May 2026 23:26:40 +0200 Subject: [PATCH] Add default case to Invoke-UndoFeatureAction for undefined feature IDs --- Scripts/Features/ExecuteChanges.ps1 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Scripts/Features/ExecuteChanges.ps1 b/Scripts/Features/ExecuteChanges.ps1 index d959521..f5cb152 100644 --- a/Scripts/Features/ExecuteChanges.ps1 +++ b/Scripts/Features/ExecuteChanges.ps1 @@ -42,6 +42,11 @@ function Invoke-UndoFeatureAction { Write-Host "" return } + default { + Write-Host "> No undo action defined for $FeatureId, skipping..." -ForegroundColor Yellow + Write-Host "" + return + } } }