feat: format renames in two lines
This commit is contained in:
1 parent
8e86f9eb9a
commit
3ab632853d
1 file changed
+1
-1
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user