mirror of
https://github.com/Jguer/yay
synced 2024-10-31 04:12:51 +00:00
Revert "Respect --noconfirm in config"
This commit is contained in:
parent
20128f4776
commit
3bc33c1b64
1 changed files with 0 additions and 6 deletions
6
cmd.go
6
cmd.go
|
@ -664,11 +664,6 @@ func passToPacman(args *arguments) error {
|
|||
|
||||
argArr = append(argArr, config.PacmanBin)
|
||||
argArr = append(argArr, cmdArgs.formatGlobals()...)
|
||||
|
||||
if config.NoConfirm {
|
||||
argArr = append(argArr, "--noconfirm")
|
||||
}
|
||||
|
||||
argArr = append(argArr, args.formatArgs()...)
|
||||
if config.NoConfirm {
|
||||
argArr = append(argArr, "--noconfirm")
|
||||
|
@ -676,7 +671,6 @@ func passToPacman(args *arguments) error {
|
|||
|
||||
argArr = append(argArr, args.formatTargets()...)
|
||||
|
||||
|
||||
cmd = exec.Command(argArr[0], argArr[1:]...)
|
||||
|
||||
cmd.Stdin, cmd.Stdout, cmd.Stderr = os.Stdin, os.Stdout, os.Stderr
|
||||
|
|
Loading…
Reference in a new issue