summaryrefslogtreecommitdiff
path: root/cmd/gotosocial/testrig.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/gotosocial/testrig.go')
-rw-r--r--cmd/gotosocial/testrig.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/gotosocial/testrig.go b/cmd/gotosocial/testrig.go
index 55498243b..4c3d75b3a 100644
--- a/cmd/gotosocial/testrig.go
+++ b/cmd/gotosocial/testrig.go
@@ -20,11 +20,12 @@ package main
import (
"code.superseriousbusiness.org/gotosocial/cmd/gotosocial/action/testrig"
"code.superseriousbusiness.org/gotosocial/internal/config"
+ "codeberg.org/gruf/go-debug"
"github.com/spf13/cobra"
)
func testrigCommands() *cobra.Command {
- if testrig.Start != nil {
+ if debug.DEBUG {
testrigCmd := &cobra.Command{
Use: "testrig",
Short: "gotosocial testrig-related tasks",