Skip to content

Commit

Permalink
fix #150 - disable dryrun in git clone
Browse files Browse the repository at this point in the history
  • Loading branch information
cplee committed Mar 14, 2020
1 parent b670173 commit f5e67f2
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pkg/common/git.go
Original file line number Diff line number Diff line change
Expand Up @@ -195,10 +195,6 @@ func NewGitCloneExecutor(input NewGitCloneExecutorInput) Executor {
logger.Infof(" \u2601 git clone '%s' # ref=%s", input.URL, input.Ref)
logger.Debugf(" cloning %s to %s", input.URL, input.Dir)

if Dryrun(ctx) {
return nil
}

cloneLock.Lock()
defer cloneLock.Unlock()

Expand Down

0 comments on commit f5e67f2

Please sign in to comment.