Remove unused error argument.

This commit is contained in:
Andrey Smirnov committed 2015-03-15 20:06:59 +03:00
1 parent 2f3b5f5a51
commit 4a6d6a85f7
3 files changed
+3 -11

No files matched your search

+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 {