From 3858eb12287fd1824254764156668fda629c9930 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20K=C3=BCblb=C3=B6ck?= <31962481+Mkublbock@users.noreply.github.com> Date: Tue, 15 Oct 2024 12:17:27 +0200 Subject: [PATCH] Fix Typo 'closes' (#3724) Fix Typo 'closes' when getting closest ArtifactURL --- Artifacts/Get-BCArtifactUrl.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Artifacts/Get-BCArtifactUrl.ps1 b/Artifacts/Get-BCArtifactUrl.ps1 index 3802fcf44..3b0d7437b 100644 --- a/Artifacts/Get-BCArtifactUrl.ps1 +++ b/Artifacts/Get-BCArtifactUrl.ps1 @@ -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)"