fix #150 - disable dryrun in git clone
This commit is contained in:
parent
b670173764
commit
f5e67f2b86
1 changed files with 0 additions and 4 deletions
|
@ -195,10 +195,6 @@ func NewGitCloneExecutor(input NewGitCloneExecutorInput) Executor {
|
||||||
logger.Infof(" \u2601 git clone '%s' # ref=%s", input.URL, input.Ref)
|
logger.Infof(" \u2601 git clone '%s' # ref=%s", input.URL, input.Ref)
|
||||||
logger.Debugf(" cloning %s to %s", input.URL, input.Dir)
|
logger.Debugf(" cloning %s to %s", input.URL, input.Dir)
|
||||||
|
|
||||||
if Dryrun(ctx) {
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
cloneLock.Lock()
|
cloneLock.Lock()
|
||||||
defer cloneLock.Unlock()
|
defer cloneLock.Unlock()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue