Skip to content

Commit cd209f0

Browse files
committed
Fix secret from config file not loaded properly
Because it is reset unintentionally.
1 parent 8c417f1 commit cd209f0

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)