mirror of
https://github.com/Jguer/yay
synced 2024-08-31 21:58:39 +00:00
Only show warnings for pkgs that are being updated
The previous warning system would show warnings recursivley for all packages being resolved. While I like this, other have complained at it being overly verbose. Either way the main purpose of this is to allow warnings to be printed before the upgrade menu shows. This is mostly just to get a usable warning system. This may change if a better solution is found.
This commit is contained in:
parent
b140e66f6a
commit
e76f978d63
|
@ -47,6 +47,8 @@ func install(parser *arguments) error {
|
|||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
warnings.print()
|
||||
}
|
||||
|
||||
//create the arguments to pass for the repo install
|
||||
|
@ -98,8 +100,6 @@ func install(parser *arguments) error {
|
|||
return err
|
||||
}
|
||||
|
||||
warnings.print()
|
||||
|
||||
err = dp.CheckMissing()
|
||||
if err != nil {
|
||||
return err
|
||||
|
|
Loading…
Reference in a new issue