Update testTaskGate.ps1

This commit is contained in:
2025-05-26 22:54:44 -04:00
parent 813f32cab7
commit 013ad32cd2

View File

@@ -298,7 +298,7 @@ $subHtml
### Get SVSMSP module version to display in the UI ### Get SVSMSP module version to display in the UI
function Get-ModuleVersionHtml { function Get-ModuleVersionHtml {
$mod = Get-Module -ListAvailable -Name SVSMSP_Module | Sort-Object Version -Descending | Select-Object -First 1 $mod = Get-Module -ListAvailable -Name SVSMSP | Sort-Object Version -Descending | Select-Object -First 1
if ($mod) { if ($mod) {
return "<div style='color:#bbb; font-size:0.9em; margin-top:1em;'>Module Version: $($mod.Version)</div>" return "<div style='color:#bbb; font-size:0.9em; margin-top:1em;'>Module Version: $($mod.Version)</div>"
} }