Skip to content

Commit bd122d4

Browse files
authored
Merge pull request #65 from tkbky/bugfix/secret-from-file-not-load-properly
Fix secret from config file not loaded properly
2 parents 4a0017e + cd209f0 commit bd122d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ func loadConfig(args map[string]interface{}) (Config, error) {
331331
}
332332

333333
if config.ProjectID == "" {
334-
config.Secret = os.Getenv("SMARTLING_PROJECT_ID")
334+
config.ProjectID = os.Getenv("SMARTLING_PROJECT_ID")
335335
}
336336

337337
if args["--user"] != nil {

0 commit comments

Comments
 (0)