feat: format renames in two lines
This commit is contained in:
parent
8e86f9eb9a
commit
3ab632853d
2
main.go
2
main.go
@ -111,7 +111,7 @@ func normalize(p string, f os.DirEntry, err error) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func rename(oldPath, newPath string, dryrun bool) error {
|
func rename(oldPath, newPath string, dryrun bool) error {
|
||||||
fmt.Printf("%s => %s\n", oldPath, newPath)
|
fmt.Printf("\nfrom: %s\nto: %s\n", oldPath, newPath)
|
||||||
if dryrun {
|
if dryrun {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user