Add default case to Invoke-UndoFeatureAction for undefined feature IDs

This commit is contained in:
Jeffrey
2026-05-28 23:26:40 +02:00
parent b920536be2
commit f6ed6ac487

View File

@@ -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
}
}
}