Skip to content

Commit 5982efd

Browse files
committed
Update consts
1 parent 7a16304 commit 5982efd

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

common/cliutils/utils.go

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

2323
const (
24-
JFConfigDirName = ".jfrog"
25-
JFConfigFileName = "config.yml"
24+
JfConfigDirName = ".jfrog"
25+
JfConfigFileName = "config.yml"
2626
ApplicationRootYML = "application"
2727
Key = "key"
2828
)
@@ -279,7 +279,7 @@ func ReadJFrogApplicationKeyFromConfigOrEnv() (applicationKeyValue string) {
279279
}
280280

281281
func getApplicationKeyFromConfig() string {
282-
configFilePath := filepath.Join(JFConfigDirName, JFConfigFileName)
282+
configFilePath := filepath.Join(JfConfigDirName, JfConfigFileName)
283283
vConfig, err := project.ReadConfigFile(configFilePath, project.YAML)
284284
if err != nil {
285285
log.Debug("error reading config file: %v", err)

common/cliutils/utils_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
)
1212

1313
func TestReadJFrogApplicationKeyFromConfigOrEnv(t *testing.T) {
14-
configFilePath := filepath.Join(JFConfigDirName, JFConfigFileName)
14+
configFilePath := filepath.Join(JfConfigDirName, JfConfigFileName)
1515

1616
// Test cases
1717
tests := []struct {

0 commit comments

Comments
 (0)