Inverted the logic of FileExistsLocally as suggested by @SwampDragons as remote URLs are assumed to exist locally.

pull/2906/head
Ali Rizvi-Santiago 8 years ago
parent c98a074f0d
commit c366a1e160

@ -195,7 +195,7 @@ func FileExistsLocally(original string) bool {
// Check to see that it's got a Local way of doing things.
local, ok := d.(LocalDownloader)
if !ok {
return false
return true // XXX: Remote URLs short-circuit this logic.
}
// Figure out where we're at.

Loading…
Cancel
Save