From 87780a5b7ea470158a0beb319a927aea8cdd1ab9 Mon Sep 17 00:00:00 2001 From: Audrius Butkevicius Date: Tue, 14 Oct 2014 20:17:42 +0100 Subject: [PATCH] Fix a missed nil (fixes #846) --- internal/ignore/ignore.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/ignore/ignore.go b/internal/ignore/ignore.go index 1e533b03d..df8a4239e 100644 --- a/internal/ignore/ignore.go +++ b/internal/ignore/ignore.go @@ -214,7 +214,7 @@ func parseIgnoreFile(fd io.Reader, currentFile string, seen map[string]bool) (*M } } if err != nil { - return nil, err + return &exps, err } }