Skip to content

Commit

Permalink
fix nil io
Browse files Browse the repository at this point in the history
  • Loading branch information
markbates committed Mar 8, 2020
1 parent 07e1922 commit 764db58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion refresh/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func (m *Manager) runAndListen(cmd *exec.Cmd) error {

var stderr bytes.Buffer

cmd.Stderr = io.MultiWriter(&stderr, m.Stderr)
cmd.Stderr = io.MultiWriter(&stderr, cmd.Stderr)

// Set the environment variables from config
if len(m.CommandEnv) != 0 {
Expand Down

0 comments on commit 764db58

Please sign in to comment.