mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-06-01 04:40:38 +00:00
Fix lint warning & add Go 1.9 to the mix
This commit is contained in:
@@ -6,6 +6,7 @@ language: go
|
|||||||
go:
|
go:
|
||||||
- 1.7.x
|
- 1.7.x
|
||||||
- 1.8.x
|
- 1.8.x
|
||||||
|
- 1.9.x
|
||||||
- master
|
- master
|
||||||
|
|
||||||
go_import_path: github.com/smira/aptly
|
go_import_path: github.com/smira/aptly
|
||||||
|
|||||||
+1
-1
@@ -518,7 +518,7 @@ func (l *PackageList) FilterWithProgress(queries []PackageQuery, withDependencie
|
|||||||
}
|
}
|
||||||
|
|
||||||
searchResults := l.Search(dep, true)
|
searchResults := l.Search(dep, true)
|
||||||
if searchResults != nil {
|
if len(searchResults) > 0 {
|
||||||
for _, p := range searchResults {
|
for _, p := range searchResults {
|
||||||
if dependencyOptions&DepVerboseResolve == DepVerboseResolve && progress != nil {
|
if dependencyOptions&DepVerboseResolve == DepVerboseResolve && progress != nil {
|
||||||
progress.ColoredPrintf("@{g}Injecting package@|: %s", p)
|
progress.ColoredPrintf("@{g}Injecting package@|: %s", p)
|
||||||
|
|||||||
Reference in New Issue
Block a user