From 281257cc4cf8b70776548c228f17195ff5fa3cb9 Mon Sep 17 00:00:00 2001 From: Mik Mueller <83001409+MikMuellerDev@users.noreply.github.com> Date: Thu, 3 Nov 2022 21:38:29 +0100 Subject: [PATCH] Remove debug prints --- core/homescript/manager.go | 1 - core/scheduler/automation/automation_test.go | 3 --- 2 files changed, 4 deletions(-) diff --git a/core/homescript/manager.go b/core/homescript/manager.go index 99bef204..a97963b9 100644 --- a/core/homescript/manager.go +++ b/core/homescript/manager.go @@ -387,7 +387,6 @@ func (m *Manager) GetUserDirectJobs(username string) []ApiJob { } // Skip any indirect jobs if len(job.Executor.CallStack) > 1 { - fmt.Println(job.Executor.CallStack) continue } jobs = append(jobs, ApiJob{ diff --git a/core/scheduler/automation/automation_test.go b/core/scheduler/automation/automation_test.go index 1d1d1f52..32bbc82e 100644 --- a/core/scheduler/automation/automation_test.go +++ b/core/scheduler/automation/automation_test.go @@ -1,7 +1,6 @@ package automation import ( - "fmt" "os" "testing" "time" @@ -539,8 +538,6 @@ func TestDisableOnce(t *testing.T) { return } - fmt.Println("PASS, starting part 2") - // Check if the `DisableOnce` boolean has reset to `false` automation, found, err = GetUserAutomationById("admin", id) assert.NoError(t, err)