mirror of
https://github.com/splitsh/lite.git
synced 2024-06-07 00:02:57 +02:00
fixed typo
This commit is contained in:
parent
538f5638df
commit
3fb2ea224b
2
main.go
2
main.go
|
@ -28,7 +28,7 @@ func (p *prefixesFlag) Set(value string) error {
|
|||
for _, prefix := range []*splitter.Prefix(*p) {
|
||||
// FIXME: to should be normalized (xxx vs xxx/ for instance)
|
||||
if prefix.To == to {
|
||||
return fmt.Errorf("Cannot have two prefix split under the same directory: %s -> %s vs %s -> %s", prefix.From, prefix.To, from, to)
|
||||
return fmt.Errorf("Cannot have two prefix splits under the same directory: %s -> %s vs %s -> %s", prefix.From, prefix.To, from, to)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue