feat: format renames in two lines
This commit is contained in:
		
							
								
								
									
										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
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user