config/module: fix issue where Get was copying subdir contents twice
This commit is contained in:
parent
2f4e441347
commit
369ba8cf07
|
@ -69,7 +69,7 @@ func Get(dst, src string) error {
|
|||
defer os.RemoveAll(tmpDir)
|
||||
|
||||
realDst = dst
|
||||
dst = subDir
|
||||
dst = tmpDir
|
||||
}
|
||||
|
||||
u, err := url.Parse(src)
|
||||
|
|
Loading…
Reference in New Issue