From 8fdde4aa58b176d32e0e92d09bcb4bd1b6cbf978 Mon Sep 17 00:00:00 2001 From: TorchedSammy <38820196+TorchedSammy@users.noreply.github.com> Date: Sat, 21 May 2022 12:47:21 -0400 Subject: [PATCH] chore: remove unused code --- job.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/job.go b/job.go index b0863b6..9577db0 100644 --- a/job.go +++ b/job.go @@ -11,7 +11,6 @@ import ( "hilbish/util" rt "github.com/arnodel/golua/runtime" - "github.com/arnodel/golua/lib/iolib" ) var jobs *jobHandler @@ -97,14 +96,6 @@ func (j *job) getProc() *os.Process { return nil } -func (j *job) setStdio(typ string, f *iolib.File) { - switch typ { - case "in": j.stdin = f.File - case "out": j.stdout = f.File - case "err": j.stderr = f.File - } -} - func (j *job) lua() rt.Value { jobFuncs := map[string]util.LuaExport{ "stop": {j.luaStop, 0, false},