Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
0x53A committed Apr 28, 2017
1 parent 4c6b644 commit 5e17e65
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Paket.Core/Dependencies/NuGetV2.fs
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ let ExtractPackage(fileName:string, targetFolder, packageName:PackageName, versi
verbosefn "%O %O unzipped to %s" packageName version targetFolder
)
let extract2 = Task.Run(fun () -> ExtractPackageToUserFolder(fileName, packageName, version, detailed) |> ignore)
let! _ = Task.WaitAll(extract1, extract2) |> Async.AwaitTask
let! _ = Task.WhenAll(extract1, extract2) |> Async.AwaitTask
return targetFolder
}

Expand Down
2 changes: 1 addition & 1 deletion src/Paket.Core/PaketConfigFiles/RuntimeGraph.fs
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ module RuntimeGraph =
NuGetV2.DownloadPackage (None, root, package.Source, [], groupName, package.Name, package.Version, false, false, false)
|> Async.RunSynchronously

let extractedDir = NuGetV2.ExtractPackageToUserFolder (targetFileName, package.Name, package.Version, null) |> Async.RunSynchronously
let extractedDir = NuGetV2.ExtractPackageToUserFolder (targetFileName, package.Name, package.Version, null)
// 2. Get runtime graph
let runtime = Path.Combine(extractedDir, "runtime.json")
if File.Exists runtime then Some (runtime) else None
Expand Down

0 comments on commit 5e17e65

Please sign in to comment.