fix(server): Remove print statement

This commit is contained in:
Myzel394 2025-05-29 20:20:46 +02:00
parent d5ec3694db
commit a2decaeff3
No known key found for this signature in database
GPG Key ID: 3B955307C2FC2F11

View File

@ -2,7 +2,6 @@ package utils
import ( import (
"errors" "errors"
"fmt"
"os" "os"
) )
@ -25,8 +24,6 @@ func IsPathDirectory(path string) bool {
func IsPathFile(path string) bool { func IsPathFile(path string) bool {
_, err := os.Stat(path) _, err := os.Stat(path)
print(fmt.Sprintf("Checking if path %s is a file: %v\n", path, err))
if errors.Is(err, os.ErrNotExist) { if errors.Is(err, os.ErrNotExist) {
return false return false
} }