We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 43ba63f commit 5c16f95Copy full SHA for 5c16f95
cli/lib/check_deps.go
@@ -89,10 +89,7 @@ func (dr checkDepResult) String() string {
89
return deps[i].Name < deps[j].Name
90
})
91
sort.SliceStable(deps, func(i, j int) bool {
92
- if deps[i].VersionInstalled != "" && deps[j].VersionInstalled == "" {
93
- return true
94
- }
95
- return false
+ return deps[i].VersionInstalled != "" && deps[j].VersionInstalled == ""
96
97
98
for _, dep := range deps {
@@ -102,7 +99,6 @@ func (dr checkDepResult) String() string {
102
99
}
103
100
104
101
func outputDep(dep *rpc.LibraryDependencyStatus) string {
105
-
106
res := ""
107
green := color.New(color.FgGreen)
108
red := color.New(color.FgRed)
0 commit comments