mirror of
https://github.com/Jguer/yay
synced 2024-10-05 23:59:13 +00:00
chore(install): reduce scope of toSkipSlice
This commit is contained in:
parent
34e81d5d7d
commit
1fb9f410a6
|
@ -239,8 +239,7 @@ func install(ctx context.Context, cmdArgs *parser.Arguments, dbExecutor db.Execu
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
toSkipSlice := toSkip.ToSlice()
|
if toSkipSlice := toSkip.ToSlice(); len(toSkipSlice) != 0 {
|
||||||
if len(toSkipSlice) != 0 {
|
|
||||||
text.OperationInfoln(
|
text.OperationInfoln(
|
||||||
gotext.Get("PKGBUILD up to date, Skipping (%d/%d): %s",
|
gotext.Get("PKGBUILD up to date, Skipping (%d/%d): %s",
|
||||||
len(toSkipSlice), len(toClone), text.Cyan(strings.Join(toSkipSlice, ", "))))
|
len(toSkipSlice), len(toClone), text.Cyan(strings.Join(toSkipSlice, ", "))))
|
||||||
|
|
Loading…
Reference in a new issue