From 503888b7112978eea4f061e762e88ee6b874eaaf Mon Sep 17 00:00:00 2001 From: Rachel Reese Date: Mon, 25 Jul 2016 17:07:48 -0400 Subject: [PATCH] Update search pattern --- src/app/FakeLib/NuGet/NugetHelper.fs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/FakeLib/NuGet/NugetHelper.fs b/src/app/FakeLib/NuGet/NugetHelper.fs index a3746043329..5f81ad0d540 100644 --- a/src/app/FakeLib/NuGet/NugetHelper.fs +++ b/src/app/FakeLib/NuGet/NugetHelper.fs @@ -109,7 +109,7 @@ let GetPackageVersion deploymentsDir package = if Directory.Exists deploymentsDir |> not then failwithf "Package %s was not found, because the deployment directory %s doesn't exist." package deploymentsDir let version = - let dirs = Directory.GetDirectories(deploymentsDir, sprintf "%s.*" package) + let dirs = Directory.GetDirectories(deploymentsDir, sprintf "%s*" package) if Seq.isEmpty dirs then failwithf "Package %s was not found." package let folder = Seq.head dirs let index = folder.LastIndexOf package + package.Length + 1