Skip to content

Commit

Permalink
consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
t-bltg committed Sep 28, 2022
1 parent ead99b5 commit 6459cb9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/generator/passes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -852,11 +852,11 @@ end

function should_exclude_node(node, ignoreregex, ignorelist, exclusivelist)
str_node = string(node.id)
for re in ignoreregex
for re ignoreregex
match(re, str_node) === nothing || return true
end
str_node ignorelist && return true
if exclusivelist !== nothing && !(str_node in exclusivelist)
if exclusivelist !== nothing && !(str_node exclusivelist)
return true
end
return false
Expand Down

0 comments on commit 6459cb9

Please sign in to comment.