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)
|
defer os.RemoveAll(tmpDir)
|
||||||
|
|
||||||
realDst = dst
|
realDst = dst
|
||||||
dst = subDir
|
dst = tmpDir
|
||||||
}
|
}
|
||||||
|
|
||||||
u, err := url.Parse(src)
|
u, err := url.Parse(src)
|
||||||
|
|
Loading…
Reference in New Issue