mirror of
https://github.com/jesseduffield/horcrux
synced 2024-06-03 00:02:21 +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 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 {
|
func Split(path string, destination string, total int, threshold int) error {
|
||||||
|
|
Loading…
Reference in a new issue