fix: fix tests and lintings

This commit is contained in:
Marcel S. Henselin 2026-02-19 11:31:06 +01:00
parent 2aee47aa76
commit 6e1817c425
18 changed files with 61 additions and 37 deletions

View file

@ -3,7 +3,6 @@ package testutils
import (
"fmt"
"log"
"log/slog"
"os"
"os/exec"
"path/filepath"
@ -78,10 +77,10 @@ func Setup() {
}
err = godotenv.Load(fmt.Sprintf("%s/.env", *root))
if err != nil {
slog.Info("could not find .env file - not loading .env")
log.Println("could not find .env file - not loading .env")
return
}
slog.Info("loaded .env file", "path", *root)
log.Println("loaded .env file", "path", *root)
}
func getRoot() (*string, error) {