Browse Source

Fix a missed nil (fixes #846)

Audrius Butkevicius 11 years ago
parent
commit
87780a5b7e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      internal/ignore/ignore.go

+ 1 - 1
internal/ignore/ignore.go

@@ -214,7 +214,7 @@ func parseIgnoreFile(fd io.Reader, currentFile string, seen map[string]bool) (*M
 			}
 			}
 		}
 		}
 		if err != nil {
 		if err != nil {
-			return nil, err
+			return &exps, err
 		}
 		}
 	}
 	}