Skip to content

Commit

Permalink
fix: remove the default ignore with .gitignore to avoid missing scans…
Browse files Browse the repository at this point in the history
… on the repo.

NOTE: found few cases where .gitignore had patterns that was ignoring src and resources folder. So removing that default addition and just look for default .ge_ignore in a repo
  • Loading branch information
grinish21 committed May 5, 2022
1 parent 816d5bd commit 2e6255d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/file/fileUtil.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ import (
)

var (
ignoreFiles = [...]string{".ge_ignore", ".gitignore"} //TODO make this list configurable
ignoreFiles = [...]string{".ge_ignore"}
ignorePatterns []string
)

Expand Down Expand Up @@ -544,4 +544,4 @@ func GetConvertedFiles(files []scan.File) (convertedFiles []scan.File, converted

return convertedFiles, convertedPaths

}
}

0 comments on commit 2e6255d

Please sign in to comment.