Skip to content

Commit 50a416b

Browse files
authored
Merge a7cd23a into a203a96
2 parents a203a96 + a7cd23a commit 50a416b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

cmd/drawbridge/drawbridge.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,8 @@ func createFlagHandler(appConfig config.Interface, answerValues map[string]inter
473473
//check if the key is set as an answer/default
474474
if answerOptionValue, ok := answerValues[optionName]; ok {
475475
//this answer is actuall for an option. lets set it.
476-
appConfig.Set(fmt.Sprintf("options.%v", optionName), answerOptionValue)
476+
//fmt.Printf("Setting Option from Answer: %v (%v)", optionName, answerOptionValue)
477+
appConfig.SetDefault(fmt.Sprintf("options.%v", optionName), answerOptionValue)
477478
}
478479
}
479480

0 commit comments

Comments
 (0)