Skip to content

Commit

Permalink
Fix jfrog security directory path
Browse files Browse the repository at this point in the history
  • Loading branch information
romangurevitch committed Oct 3, 2017
1 parent 5717ca4 commit 9df5624
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jfrog-cli/artifactory/utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ import (
)

func GetJfrogSecurityDir() (string, error) {
confPath, err := config.GetJfrogHomeDir()
homeDir, err := config.GetJfrogHomeDir()
if err != nil {
return "", err
}
return filepath.Join(confPath, "security"), nil
return filepath.Join(homeDir, "security"), nil
}

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

0 comments on commit 9df5624

Please sign in to comment.