mirror of
https://github.com/Jguer/yay
synced 2024-07-22 02:37:31 +00:00
chore(yay): remove unnecessary Graph initialization (#2251)
Just an additional correction to one of my commits.
This commit is contained in:
parent
5995e55ddb
commit
688434b242
|
@ -84,8 +84,7 @@ func installLocalPKGBUILD(
|
|||
grapher := dep.NewGrapher(dbExecutor, aurCache, false, settings.NoConfirm,
|
||||
cmdArgs.ExistsDouble("d", "nodeps"), noCheck, cmdArgs.ExistsArg("needed"),
|
||||
config.Runtime.Logger.Child("grapher"))
|
||||
graph := dep.NewGraph()
|
||||
graph, err := grapher.GraphFromSrcInfos(ctx, graph, srcInfos)
|
||||
graph, err := grapher.GraphFromSrcInfos(ctx, nil, srcInfos)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue