1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-09-15 18:57:01 +00:00

fix #150 - disable dryrun in git clone

This commit is contained in:
Casey Lee 2020-03-14 00:13:18 -07:00
parent 1a3ec6c470
commit e1ffc92e86

View file

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