Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Use commit w/gist download in RemoteDownload.downloadRemoteFiles
  • Loading branch information
allykzam committed Sep 18, 2015
commit b2432b6eaac8fa01b5d67b87e627175ed80ebab1
2 changes: 1 addition & 1 deletion src/Paket.Core/RemoteDownload.fs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ let downloadRemoteFiles(remoteFile:ResolvedSourceFile,destination) = async {
let fi = FileInfo(destination)
let projectPath = fi.Directory.FullName

let url = sprintf "https://api.github.com/gists/%s" remoteFile.Project
let url = sprintf "https://api.github.com/gists/%s/%s" remoteFile.Project remoteFile.Commit
let! document = getFromUrl(None, url, null)
let json = JObject.Parse(document)
let files = json.["files"] |> Seq.map (fun i -> i.First.["filename"].ToString(), i.First.["raw_url"].ToString())
Expand Down