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

Format sources with gofmt (#472)

Co-authored-by: Casey Lee <cplee@nektos.com>
This commit is contained in:
KADOTA, Kyohei 2021-01-15 14:37:38 +09:00 committed by GitHub
parent 7987e67c0a
commit 035108c9f1
6 changed files with 8 additions and 11 deletions

View file

@ -11,8 +11,8 @@ import (
"os"
"path/filepath"
"regexp"
"strings"
"runtime"
"strings"
"github.com/go-git/go-billy/v5/helper/polyfill"
"github.com/go-git/go-billy/v5/osfs"
@ -342,7 +342,7 @@ func (cr *containerReference) exec(cmd []string, env map[string]string) common.E
}
cmd = newCmd
}
logger.Debugf("Exec command '%s'", cmd)
isTerminal := term.IsTerminal(int(os.Stdout.Fd()))
envList := make([]string, 0)