From c366a1e1607aae9ca84bb8a7acc65808f81b37d1 Mon Sep 17 00:00:00 2001 From: Ali Rizvi-Santiago Date: Fri, 2 Feb 2018 20:16:54 -0600 Subject: [PATCH] Inverted the logic of FileExistsLocally as suggested by @SwampDragons as remote URLs are assumed to exist locally. --- common/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/config.go b/common/config.go index 269d52dd171..aa632ceaea0 100644 --- a/common/config.go +++ b/common/config.go @@ -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.