commands/lock: properly trim prefix from lock path

This commit is contained in:
Taylor Blau 2016-06-03 14:59:13 -06:00
parent c78356173c
commit 21b92381f4

@ -79,7 +79,7 @@ func lockPath(file string) (string, error) {
abs := filepath.Join(wd, file)
return strings.TrimPrefix(repo, abs), nil
return strings.TrimPrefix(abs, repo), nil
}
func init() {