From 22ebf1fa2353d7c2d2b095ddc491d6eeb20e79dc Mon Sep 17 00:00:00 2001 From: sammyette Date: Fri, 19 Jul 2024 09:54:50 -0400 Subject: [PATCH] fix: dont make new instance of interpreter --- exec.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/exec.go b/exec.go index cf1b299..9055fcf 100644 --- a/exec.go +++ b/exec.go @@ -269,8 +269,6 @@ func execCommand(cmd string, strms *streams) (io.Writer, io.Writer, error) { return nil, nil, err } - runner, _ := interp.New() - if strms == nil { strms = &streams{} }