fixed typo

This commit is contained in:
Fabien Potencier 2017-02-21 09:49:26 -08:00
parent 538f5638df
commit 3fb2ea224b

View file

@ -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)
}
}