Remove unused error argument.

This commit is contained in:
Andrey Smirnov
2015-03-15 20:06:59 +03:00
parent 2f3b5f5a51
commit 4a6d6a85f7
3 changed files with 3 additions and 11 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ import (
)
// CollectPackageFiles walks filesystem collecting all candidates for package files
func CollectPackageFiles(locations []string, reporter aptly.ResultReporter) (packageFiles, failedFiles []string, err error) {
func CollectPackageFiles(locations []string, reporter aptly.ResultReporter) (packageFiles, failedFiles []string) {
for _, location := range locations {
info, err2 := os.Stat(location)
if err2 != nil {