Skip to content

Commit

Permalink
Fix Typo 'closes' (#3724)
Browse files Browse the repository at this point in the history
Fix Typo 'closes' when getting closest ArtifactURL
  • Loading branch information
Mkublbock authored Oct 15, 2024
1 parent 053bab4 commit 3858eb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Artifacts/Get-BCArtifactUrl.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ try {
$dots = ($version.ToCharArray() -eq '.').Count
$closestToVersion = [Version]"0.0.0.0"
if ($dots -ne 3 -or !([Version]::TryParse($version, [ref] $closestToVersion))) {
throw "Version number must be in the format 1.2.3.4 when you want to get the closes artifact Url"
throw "Version number must be in the format 1.2.3.4 when you want to get the closest artifact Url"
}
$GetListUrl += "&prefix=$($closestToVersion.Major).$($closestToVersion.Minor)."
$upMajorFilter = "$($closestToVersion.Major)"
Expand Down

0 comments on commit 3858eb1

Please sign in to comment.