style: cleanup

This commit is contained in:
Kevin Franklin Kim 2024-01-03 17:52:46 +01:00
parent 626a5f5dd1
commit 17cf94c051
No known key found for this signature in database

View File

@ -12,7 +12,6 @@ import (
) )
type Cmd struct { type Cmd struct {
// cmd *exec.Cmd
command []string command []string
cwd string cwd string
env []string env []string
@ -24,8 +23,7 @@ type Cmd struct {
func NewCommand(name string) *Cmd { func NewCommand(name string) *Cmd {
return &Cmd{ return &Cmd{
command: []string{name}, command: []string{name},
//wait: true, env: os.Environ(),
env: os.Environ(),
} }
} }