Inverted the logic of FileExistsLocally as suggested by @SwampDragons as remote URLs are assumed to exist locally.
This commit is contained in:
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…
Reference in New Issue