Skip to content

Commit

Permalink
replace exec package (#820)
Browse files Browse the repository at this point in the history
  • Loading branch information
vcheung-stripe authored Feb 16, 2022
1 parent caa092d commit be38da5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,13 @@ import (
"fmt"
"io/ioutil"
"os"
"os/exec"
"path/filepath"
"runtime"
"strings"
"time"

exec "golang.org/x/sys/execabs"

"github.com/BurntSushi/toml"
"github.com/mitchellh/go-homedir"
log "github.com/sirupsen/logrus"
Expand Down
3 changes: 2 additions & 1 deletion pkg/open/open.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ package open

import (
"fmt"
"os/exec"
"runtime"

exec "golang.org/x/sys/execabs"
)

var execCommand = exec.Command
Expand Down

0 comments on commit be38da5

Please sign in to comment.