Skip to content

Commit

Permalink
Fix integration_test7
Browse files Browse the repository at this point in the history
  • Loading branch information
chanaMovshowich committed Jun 10, 2024
1 parent 9f247b9 commit 045f87e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/common/runner/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ type Runner struct {

const WorkersNumEnvKey = "YOR_WORKER_NUM"

var mutex sync.Mutex

func (r *Runner) Init(commands *clioptions.TagOptions) error {
dir := commands.Directory
extraTags, extraTagGroups, err := loadExternalResources(commands.CustomTagging)
Expand Down Expand Up @@ -170,7 +172,6 @@ func (r *Runner) isSkippedResource(resource string) bool {
}

func (r *Runner) TagFile(file string) {
var mutex sync.Mutex
for _, parser := range r.parsers {
if r.isFileSkipped(parser, file) {
logger.Debug(fmt.Sprintf("%v parser Skipping %v", parser.Name(), file))
Expand Down

0 comments on commit 045f87e

Please sign in to comment.