2
2
mirror of https://github.com/Hilbis/Hilbish synced 2025-04-20 20:43:23 +00:00

fix: dont make new instance of interpreter

This commit is contained in:
sammyette 2024-07-19 09:54:50 -04:00
parent 9d4a40162f
commit 22ebf1fa23
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD

View File

@ -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{}
}