config/module: fix issue where Get was copying subdir contents twice

This commit is contained in:
Mitchell Hashimoto 2014-10-13 17:38:27 -07:00
parent 2f4e441347
commit 369ba8cf07
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ func Get(dst, src string) error {
defer os.RemoveAll(tmpDir) defer os.RemoveAll(tmpDir)
realDst = dst realDst = dst
dst = subDir dst = tmpDir
} }
u, err := url.Parse(src) u, err := url.Parse(src)