Add comments directive to ignores

This commit is contained in:
Audrius Butkevicius
2014-09-16 22:22:21 +01:00
parent 760a9d6d35
commit d96ce23451
2 changed files with 20 additions and 0 deletions
+2
View File
@@ -122,6 +122,8 @@ func parseIgnoreFile(fd io.Reader, currentFile string, seen map[string]bool) (Pa
switch {
case line == "":
continue
case strings.HasPrefix(line, "//"):
continue
case strings.HasPrefix(line, "#"):
err = addPattern(line)
case strings.HasSuffix(line, "/**"):