mirror of
https://gitea.com/gitea/runner.git
synced 2026-11-09 00:30:28 +00:00
chore: upgrade golangci-lint and address findings (#1904)
This commit is contained in:
1 parent
79f93beef2
commit
724ec918c9
22 files changed
+57
-59
No files matched your search
@@ -9,7 +9,7 @@ import (
|
||||
"github.com/creack/pty"
|
||||
)
|
||||
|
||||
func getSysProcAttr(cmdLine string, tty bool) *syscall.SysProcAttr {
|
||||
func getSysProcAttr(_ string, tty bool) *syscall.SysProcAttr {
|
||||
if tty {
|
||||
return &syscall.SysProcAttr{
|
||||
Setsid: true,
|
||||
|
||||
Reference in new issue
Block a user