We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent edac388 commit 291708dCopy full SHA for 291708d
hugoalh.GitHubActionsToolkit/module/tool-cache.psm1
@@ -110,9 +110,9 @@ Function Find-ToolCache {
110
[Hashtable]$Argument = @{
111
Name = $Name
112
}
113
- [Boolean]$IsFindAll = $Version.ToString().Length -eq 0
+ [Boolean]$IsFindAll = $Version.Length -eq 0
114
If (!$IsFindAll) {
115
- $Argument.Version = $Version.ToString()
+ $Argument.Version = $Version
116
117
If ($Architecture.Length -gt 0) {
118
$Argument.Architecture = $Architecture
0 commit comments