Cleanup
This commit is contained in:
1 parent
a5d41ae1f7
commit
70d91e2239
1 file changed
+1
-1
@@ -31,7 +31,7 @@ func resizeFolder(src, dest string, x, y int) {
|
|||||||
filepath.Walk(src, func(path string, info fs.FileInfo, err error) error {
|
filepath.Walk(src, func(path string, info fs.FileInfo, err error) error {
|
||||||
if !info.IsDir() {
|
if !info.IsDir() {
|
||||||
destination := strings.ReplaceAll(path, src, dest)
|
destination := strings.ReplaceAll(path, src, dest)
|
||||||
log.Printf("moving %s to %s", path, destination)
|
log.Printf("copying %s resized to %s", path, destination)
|
||||||
resize(path, destination, x, y)
|
resize(path, destination, x, y)
|
||||||
}
|
}
|
||||||
return err
|
return err
|
||||||
|
|||||||
Reference in new issue
Block a user