From 58c4ed602e80d1c9cfb1c3447f40c37000eb7cda Mon Sep 17 00:00:00 2001 From: Darko Luketic Date: Mon, 8 Jan 2024 17:26:08 +0100 Subject: [PATCH] removed some debug messages --- cmd/cron.go | 2 -- runner/runner.go | 1 - 2 files changed, 3 deletions(-) diff --git a/cmd/cron.go b/cmd/cron.go index f347566..3d7bf60 100644 --- a/cmd/cron.go +++ b/cmd/cron.go @@ -17,9 +17,7 @@ var cronCmd = &cobra.Command{ Use: "cron", Short: "this command is meant to be ran via cron", RunE: func(cmd *cobra.Command, args []string) error { - log.Println("setting GOMAXPROCS=1") runtime.GOMAXPROCS(1) - log.Println("opening database file") client, err := ent.Open("sqlite3", fmt.Sprintf("file:%s?mode=rwc&cache=private&_fk=1", sqliteFilename)) if err != nil { return fmt.Errorf("failed opening connection to sqlite: %v", err) diff --git a/runner/runner.go b/runner/runner.go index 0b5bafc..e647fb2 100644 --- a/runner/runner.go +++ b/runner/runner.go @@ -34,7 +34,6 @@ func (r *Runner) Run() error { return fmt.Errorf("error getting current go version: %s", e) } for _, m := range ms { - fmt.Println(fmt.Sprintf("%s/%s", m.RootPath, m.BinaryPath)) fv, e := getVersionOfFile(fmt.Sprintf("%s/%s", m.RootPath, m.BinaryPath)) if e != nil { return fmt.Errorf("error getting version of file: %s", e)