Fix rename prompting for new location before verifying old one exists

This commit is contained in:
2024-07-19 13:48:14 -04:00
parent 07d2c5fd04
commit 9077501d66
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -98,7 +98,8 @@ func main() {
case "note", "-n":
field = 4
case "rename", "-r":
cli.RenameCli(args[1]) // pass the incomplete path as the server and all clients (reading from the deletions directory) will have a different home directory
backend.TargetIsFile(targetLocation, true, 0) // ensure location exists before prompting for new location
cli.RenameCli(args[1]) // pass the incomplete path as the server and all clients (reading from the deletions directory) will have a different home directory
default:
cli.HelpEdit()
}