From f5e67f2b86e2f9f6290f8e1d506455885673576a Mon Sep 17 00:00:00 2001 From: Casey Lee Date: Sat, 14 Mar 2020 00:13:18 -0700 Subject: [PATCH] fix #150 - disable dryrun in git clone --- pkg/common/git.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pkg/common/git.go b/pkg/common/git.go index 969a751..4f7f1e6 100644 --- a/pkg/common/git.go +++ b/pkg/common/git.go @@ -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()