We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7af84bb + 8a72acc commit 520fa90Copy full SHA for 520fa90
1 file changed
pkg/util/ignoreutil/ignorefile.go
@@ -28,6 +28,7 @@ func GetIgnoreRules(rootDirectory string) ([]string, error) {
28
ignoreLines := strings.Split(string(ignoreBytes), "\n")
29
30
for _, ignoreRule := range ignoreLines {
31
+ ignoreRule = strings.Trim(ignoreRule, "\r")
32
ignoreRule = strings.Trim(ignoreRule, " ")
33
initialOffset := 0
34
0 commit comments