Update testTaskGate.ps1
This commit is contained in:
@@ -300,7 +300,7 @@ $subHtml
|
|||||||
function Get-ModuleVersionHtml {
|
function Get-ModuleVersionHtml {
|
||||||
$mod = Get-Module -ListAvailable -Name SVSMSP | 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;'>SVSMPS Module Version: $($mod.Version)</div>"
|
return "<div style='color:#bbb; font-size:0.9em; margin-top:1em;'>Module Version: $($mod.Version)</div>"
|
||||||
}
|
}
|
||||||
return "<div style='color:#f66;'>SVSMSP_Module not found</div>"
|
return "<div style='color:#f66;'>SVSMSP_Module not found</div>"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user