mirror of
https://github.com/rwinkhart/MUTN.git
synced 2026-10-27 21:39:56 -04:00
Fix rename prompting for new location before verifying old one exists
This commit is contained in:
1 parent
07d2c5fd04
commit
9077501d66
2 files changed
+3
-2
No files matched your search
@@ -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()
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user