1
0
Fork 0
forked from forgejo/forgejo

Remove go 1.15 support (#18511)

- Remove support for go 1.15(go.mod already requires go 1.16).

Co-authored-by: John Olheiser <john.olheiser@gmail.com>
This commit is contained in:
Gusted 2022-02-01 03:46:45 +01:00 committed by GitHub
parent 1de5028394
commit f87d5ea9ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 15 deletions

View file

@ -165,10 +165,6 @@ func (c *Command) RunWithContext(rc *RunContext) error {
"GIT_TERMINAL_PROMPT=0",
)
// TODO: verify if this is still needed in golang 1.15
if goVersionLessThan115 {
cmd.Env = append(cmd.Env, "GODEBUG=asyncpreemptoff=1")
}
cmd.Dir = rc.Dir
cmd.Stdout = rc.Stdout
cmd.Stderr = rc.Stderr