From 2464bcba5272764312b16d61b4c69f81d3ee8dcf Mon Sep 17 00:00:00 2001 From: Steffen Forkmann Date: Fri, 24 Oct 2014 14:08:41 +0200 Subject: [PATCH] cleanup --- src/Paket.Core/InstallProcess.fs | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/Paket.Core/InstallProcess.fs b/src/Paket.Core/InstallProcess.fs index 2cba967000..c62c355c57 100644 --- a/src/Paket.Core/InstallProcess.fs +++ b/src/Paket.Core/InstallProcess.fs @@ -75,21 +75,21 @@ let CreateInstallModel(sources, force, package) = /// Restores the given packages from the lock file. let createModel(sources,force, lockFile:LockFile) = - let sourceFileDownloads = - lockFile.SourceFiles - |> Seq.map (fun file -> GitHub.DownloadSourceFile(Path.GetDirectoryName lockFile.FileName, file)) - |> Async.Parallel + let sourceFileDownloads = + lockFile.SourceFiles + |> Seq.map (fun file -> GitHub.DownloadSourceFile(Path.GetDirectoryName lockFile.FileName, file)) + |> Async.Parallel - let packageDownloads = - lockFile.ResolvedPackages - |> Seq.map (fun kv -> CreateInstallModel(sources,force,kv.Value)) - |> Async.Parallel + let packageDownloads = + lockFile.ResolvedPackages + |> Seq.map (fun kv -> CreateInstallModel(sources,force,kv.Value)) + |> Async.Parallel - let _,extractedPackages = - Async.Parallel(sourceFileDownloads,packageDownloads) - |> Async.RunSynchronously + let _,extractedPackages = + Async.Parallel(sourceFileDownloads,packageDownloads) + |> Async.RunSynchronously - extractedPackages + extractedPackages /// Installs the given all packages from the lock file. let Install(sources,force, hard, lockFile:LockFile) =