fix(deps): update parser method

This commit is contained in:
jguer 2020-07-07 01:46:39 +02:00
parent 71929cb225
commit 93719d488c
No known key found for this signature in database
GPG key ID: 6D6CC9BEA8556B35

View file

@ -162,7 +162,7 @@ func install(parser *settings.Arguments, alpmHandle *alpm.Handle) (err error) {
return err
}
if !parser.existsDouble("d", "nodeps") {
if !parser.ExistsDouble("d", "nodeps") {
err = dp.CheckMissing()
if err != nil {
return err
@ -194,7 +194,7 @@ func install(parser *settings.Arguments, alpmHandle *alpm.Handle) (err error) {
}
var conflicts stringset.MapStringSet
if !parser.existsDouble("d", "nodeps") {
if !parser.ExistsDouble("d", "nodeps") {
conflicts, err = dp.CheckConflicts()
if err != nil {
return err