Remove going up one dir in Get Project Root

This commit is contained in:
George Suntres
2026-04-13 11:49:32 -04:00
parent 5c4fbcf698
commit 285a72f18b

8
fs.go
View File

@@ -31,11 +31,11 @@ func GetProjectRoot() (string, error) {
exeDir := filepath.Dir(exePath)
// adjust depending on your structure
// e.g. binary is in /project/bin/app → go up one level
root := filepath.Dir(exeDir)
// // adjust depending on your structure
// // e.g. binary is in /project/bin/app → go up one level
// root := filepath.Dir(exeDir)
return root, nil
return exeDir, nil
}