mirror of
https://github.com/jesseduffield/horcrux
synced 2024-05-20 09:16:32 +02:00
fix destination path
This commit is contained in:
parent
17a9719f3b
commit
e3d73706ce
|
@ -23,7 +23,7 @@ func SplitWithPrompt(path string) error {
|
|||
return err
|
||||
}
|
||||
|
||||
return Split(path, path, total, threshold)
|
||||
return Split(path, filepath.Dir(path), total, threshold)
|
||||
}
|
||||
|
||||
func Split(path string, destination string, total int, threshold int) error {
|
||||
|
|
Loading…
Reference in a new issue