refactor(exe): move sudo loop into CmdBuilder

This commit is contained in:
jguer
2021-08-08 20:22:39 +02:00
committed by J Guerreiro
parent 444151de0d
commit 5c11c01d85
21 changed files with 146 additions and 143 deletions

2
vcs.go
View File

@@ -47,7 +47,7 @@ func createDevelDB(config *settings.Configuration, dbExecutor db.Executor) error
len(toSkipSlice), len(bases), text.Cyan(strings.Join(toSkipSlice, ", "))))
}
if _, errA := download.AURPKGBUILDRepos(config.Runtime.CmdRunner,
if _, errA := download.AURPKGBUILDRepos(
config.Runtime.CmdBuilder, targets, config.AURURL, config.BuildDir, false); errA != nil {
return err
}