feat(yay): skip confirmed confirms (#2107)
* skip pacman confirmations when yay confirmations are done * default to double confirm * fix tests
This commit is contained in:
7 files changed
+47
-25
No files matched your search
@@ -73,6 +73,7 @@ type Configuration struct {
|
||||
NewInstallEngine bool `json:"newinstallengine"`
|
||||
Debug bool `json:"debug"`
|
||||
UseRPC bool `json:"rpc"`
|
||||
DoubleConfirm bool `json:"doubleconfirm"` // confirm install before and after build
|
||||
|
||||
CompletionPath string `json:"-"`
|
||||
VCSFilePath string `json:"-"`
|
||||
@@ -239,6 +240,7 @@ func DefaultConfig(version string) *Configuration {
|
||||
Version: version,
|
||||
Debug: false,
|
||||
UseRPC: true,
|
||||
DoubleConfirm: true,
|
||||
Runtime: &Runtime{
|
||||
Logger: text.GlobalLogger,
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user