From 40f0cc6dfe00b8da21db8de73ea285134ded6f17 Mon Sep 17 00:00:00 2001 From: Megan Marsh Date: Tue, 9 Jan 2018 15:53:54 -0800 Subject: [PATCH] I don't think this is needed anymore --- common/config.go | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/common/config.go b/common/config.go index 3f618e58a..5ef4d3369 100644 --- a/common/config.go +++ b/common/config.go @@ -69,16 +69,6 @@ func DownloadableURL(original string) (string, error) { } if u.Scheme == "file" { - // Windows file handling is all sorts of tricky... - if runtime.GOOS == "windows" { - // If the path is using Windows-style slashes, URL parses - // it into the host field. - if u.Path == "" && strings.Contains(u.Host, `\`) { - u.Path = u.Host - u.Host = "" - } - } - // Only do the filepath transformations if the file appears // to actually exist. if _, err := os.Stat(u.Path); err == nil {