Skip to content

Commit 9df5624

Browse files
author
romangurevitch
committed
Fix jfrog security directory path
1 parent 5717ca4 commit 9df5624

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jfrog-cli/artifactory/utils/utils.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ import (
2121
)
2222

2323
func GetJfrogSecurityDir() (string, error) {
24-
confPath, err := config.GetJfrogHomeDir()
24+
homeDir, err := config.GetJfrogHomeDir()
2525
if err != nil {
2626
return "", err
2727
}
28-
return filepath.Join(confPath, "security"), nil
28+
return filepath.Join(homeDir, "security"), nil
2929
}
3030

3131
func GetEncryptedPasswordFromArtifactory(artifactoryAuth *auth.ArtifactoryDetails) (string, error) {

0 commit comments

Comments
 (0)