Skip to content

Commit

Permalink
fix rule parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
nikpivkin committed Mar 21, 2024
1 parent 1442683 commit 6a4228a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pkg/iac/ignore/parse.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package ignore

import (
"errors"
"fmt"
"strings"
"time"

Expand Down Expand Up @@ -96,8 +95,6 @@ func parseComment(input string, rng types.Range, parsers []RuleSectionParser) (R

if parser.Parse(val) {
rule.parsers[parser.Key()] = parser
} else {
return Rule{}, fmt.Errorf("failed to parse section with key %q", key)
}
}
}
Expand Down

0 comments on commit 6a4228a

Please sign in to comment.