From 2f1daa12929b7aa4d6c55176532827defc3abd77 Mon Sep 17 00:00:00 2001 From: Wayne Starr Date: Thu, 28 Jul 2022 17:33:14 -0500 Subject: [PATCH] Fix default on confirm check --- src/config/variables.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/variables.go b/src/config/variables.go index bd82444a3e..ff5bf93e2b 100644 --- a/src/config/variables.go +++ b/src/config/variables.go @@ -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)