mirror of
https://github.com/Jguer/yay.git
synced 2024-11-06 17:17:22 +01:00
Fix typos and lint
Signed-off-by: Jguer <me@jguer.space>
This commit is contained in:
parent
cf47746d20
commit
0216b116f4
@ -3,9 +3,10 @@ package main
|
|||||||
import (
|
import (
|
||||||
"bufio"
|
"bufio"
|
||||||
"fmt"
|
"fmt"
|
||||||
alpm "github.com/jguer/go-alpm"
|
|
||||||
"os"
|
"os"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
|
alpm "github.com/jguer/go-alpm"
|
||||||
)
|
)
|
||||||
|
|
||||||
func questionCallback(question alpm.QuestionAny) {
|
func questionCallback(question alpm.QuestionAny) {
|
||||||
|
@ -303,7 +303,7 @@ nextpkg:
|
|||||||
|
|
||||||
if len(incompatible) > 0 {
|
if len(incompatible) > 0 {
|
||||||
fmt.Println()
|
fmt.Println()
|
||||||
fmt.Print(bold(yellow(arrow)) + " The following packages are not compatable with your architecture:")
|
fmt.Print(bold(yellow(arrow)) + " The following packages are not compatible with your architecture:")
|
||||||
for pkg := range incompatible {
|
for pkg := range incompatible {
|
||||||
fmt.Print(" " + cyan(pkg))
|
fmt.Print(" " + cyan(pkg))
|
||||||
}
|
}
|
||||||
@ -631,7 +631,7 @@ func buildInstallPkgBuilds(pkgs []*rpc.Pkg, srcinfos map[string]*gopkg.PKGBUILD,
|
|||||||
|
|
||||||
if built {
|
if built {
|
||||||
fmt.Println(bold(yellow(arrow)),
|
fmt.Println(bold(yellow(arrow)),
|
||||||
cyan(pkg.Name+"-"+version)+bold(" Already made -- skipping build"))
|
cyan(pkg.Name+"-"+pkg.Version)+bold(" Already made -- skipping build"))
|
||||||
} else {
|
} else {
|
||||||
args := []string{"-Ccf", "--noconfirm"}
|
args := []string{"-Ccf", "--noconfirm"}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user