Cleanup
This commit is contained in:
parent
a5d41ae1f7
commit
70d91e2239
2
main.go
2
main.go
|
@ -31,7 +31,7 @@ func resizeFolder(src, dest string, x, y int) {
|
|||
filepath.Walk(src, func(path string, info fs.FileInfo, err error) error {
|
||||
if !info.IsDir() {
|
||||
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)
|
||||
}
|
||||
return err
|
||||
|
|
Loading…
Reference in New Issue