Skip to content

Commit 6964f34

Browse files
committed
CI: accommodate the v-prefix for the PowerShellScriptAnalyzer versioning
1 parent 162afd7 commit 6964f34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scripts/Update-Dependencies.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ $pses = Invoke-RestMethod 'https://api.github.com/repos/PowerShell/PowerShellEdi
3636
function ReadLatestVersions
3737
{
3838
@{
39-
PSScriptAnalyzer = [Version] $psScriptAnalyzer.tag_name
39+
PSScriptAnalyzer = [Version] $psScriptAnalyzer.tag_name.Trim('v')
4040
PowerShellEditorServices = [Version] $pses.tag_name.Trim('v')
4141
}
4242
}

0 commit comments

Comments
 (0)