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