Skip to content
This repository has been archived by the owner on Jul 12, 2022. It is now read-only.

Commit

Permalink
Fix unit test excluding _vendor folder
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianofernandeszup committed Aug 11, 2020
1 parent 7b8b1ce commit 44c98a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/validation/utilities.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ func getFullContentFromFormula(root string) map[string]string {
panic(err)
}
for _, file := range files {
if strings.Contains(file, "src/main.") && !strings.HasPrefix(file, "../../templates") {
if strings.Contains(file, "src/main.") && !strings.HasPrefix(file, "../../templates") && !strings.Contains(file, "_vendor/") {
fileX := strings.Split(file, "/src/main.")
required[fileX[0]] = fileX[1]
}
Expand Down

0 comments on commit 44c98a0

Please sign in to comment.