Fix noinlineerr findings: internal/config (refs #61)

This commit is contained in:
2026-08-07 16:59:56 +00:00
parent 2f7e37153c
commit 1ee0d291ca
3 changed files with 15 additions and 6 deletions

View File

@@ -15,7 +15,9 @@ const (
func TestMain(m *testing.M) {
// Set up test environment
testConfigPath := filepath.Join("..", "..", "test", "config.yaml")
if absPath, err := filepath.Abs(testConfigPath); err == nil {
absPath, err := filepath.Abs(testConfigPath)
if err == nil {
_ = os.Setenv("VAULTIK_CONFIG", absPath)
}