fix #150 - disable dryrun in git clone

This commit is contained in:
Casey Lee 2020-03-14 00:13:18 -07:00
parent b670173764
commit f5e67f2b86
No known key found for this signature in database
GPG key ID: 1899120ECD0A1784

View file

@ -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()