From a12892f59ad754bb7eb28494bdbd20d553438509 Mon Sep 17 00:00:00 2001 From: Steffen Forkmann Date: Tue, 12 Jul 2016 15:11:41 +0200 Subject: [PATCH] Remove wtf --- src/Paket.Core/DependenciesFile.fs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Paket.Core/DependenciesFile.fs b/src/Paket.Core/DependenciesFile.fs index 5479550988..1de8c7f694 100644 --- a/src/Paket.Core/DependenciesFile.fs +++ b/src/Paket.Core/DependenciesFile.fs @@ -111,7 +111,7 @@ type DependenciesFile(fileName,groups:Map, textRepr let getRestrictionList = let projectFrameworks = lazy ( let lockFile = dependenciesFile.FindLockfile() - let dir = (lockFile : FileInfo).DirectoryName // wtf have to have the cast here so that the compiler doesn't coerce the lockFile to an obj + let dir = (lockFile : FileInfo).DirectoryName let projects = ProjectFile.FindAllProjects dir let frameworks = projects |> Array.choose ProjectFile.getTargetFramework |> Array.distinct frameworks |> Array.map FrameworkRestriction.Exactly |> List.ofArray