#60: Fixed bug with current folder

This commit is contained in:
frikky
2020-06-15 18:11:59 +02:00
parent a7e7ca15e3
commit 7eac745d9d
3 changed files with 5 additions and 6 deletions
-1
View File
@@ -5809,7 +5809,6 @@ func createFs(basepath, pathname string) (billy.Filesystem, error) {
// Fix the inner path here
newpath := strings.ReplaceAll(path, pathname, "")
fullpath := fmt.Sprintf("%s%s", basepath, newpath)
log.Printf("Fullpath: %s", fullpath)
switch mode := info.Mode(); {
case mode.IsDir():
err = fs.MkdirAll(fullpath, 0644)