adjustment

This commit is contained in:
Songmu 2020-06-30 10:55:21 +09:00
parent de99291140
commit 427feec147

View file

@ -84,10 +84,7 @@ func (g *getter) getRemoteRepository(remote RemoteRepository) error {
return err
}
}
l := detectLocalRepoRoot(
remoteURL.Path,
repoURL.Path)
if l != "" {
if l := detectLocalRepoRoot(remoteURL.Path, repoURL.Path); l != "" {
localRepoRoot = filepath.Join(local.RootPath, remoteURL.Hostname(), l)
}