Update utils.go

Removed abs() function since lint states it is no longer used.
This commit is contained in:
rmschooley 2025-05-17 20:46:23 -05:00 committed by GitHub
parent f085e5e501
commit 16815a71b1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 8 deletions

View File

@ -7,14 +7,6 @@ import (
"path/filepath"
)
// Helper function to get absolute value of float64
func abs(x float64) float64 {
if x < 0 {
return -x
}
return x
}
func joinPath(basePath string, paths []string) string {
pathArr := append([]string{basePath}, paths...)
return filepath.Join(pathArr...)