Skip to content

Commit

Permalink
Fix default on confirm check
Browse files Browse the repository at this point in the history
  • Loading branch information
Racer159 committed Jul 28, 2022
1 parent 8c48f32 commit 2f1daa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config/variables.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func SetActiveVariables() error {
SetVariableMap[variable.Name] = variable.Default

// Variable is set to prompt the user
if variable.Prompt {
if variable.Prompt && !CommonOptions.Confirm {
// Prompt the user for the variable
val, err := promptVariable(variable.Name, variable.Default)

Expand Down

0 comments on commit 2f1daa1

Please sign in to comment.