only log about cloning if clone was actually run
This commit is contained in:
parent
1b6d6ed3d7
commit
f81d8f567b
1 changed files with 1 additions and 1 deletions
|
|
@ -280,9 +280,9 @@ func CloneIfRequired(ctx context.Context, refName plumbing.ReferenceName, input
|
|||
if err = os.Chmod(input.Dir, 0o755); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
logger.Debugf("Cloned %s to %s", input.URL, input.Dir)
|
||||
}
|
||||
|
||||
logger.Debugf("Cloned %s to %s", input.URL, input.Dir)
|
||||
return r, nil
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue