diff options
Diffstat (limited to '')
-rw-r--r-- | pkg/commands.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/pkg/commands.go b/pkg/commands.go index 5403e5f..096da11 100644 --- a/pkg/commands.go +++ b/pkg/commands.go @@ -6,15 +6,12 @@ import ( "os/exec" ) -// ----- Globals --------------------------------------------------------------- var commands []*CommandPromise -// ----- Init ------------------------------------------------------------------ func init() { commands = make([]*CommandPromise, 0) } -// ----- Public ---------------------------------------------------------------- func Command(cmd string, args ...string) *CommandPromise { return CommandWithEnv([]string{}, cmd, args...) } @@ -81,7 +78,6 @@ func (c CommandPromise) Status() Status { return c.status } -// ----- Internal -------------------------------------------------------------- func resolveCommands() (status Status) { status = KEPT for _, c := range commands { |