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:
parent
7987e67c0a
commit
035108c9f1
6 changed files with 8 additions and 11 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue