Skip to content

Commit

Permalink
Fix copy-paste error for exclusions
Browse files Browse the repository at this point in the history
  • Loading branch information
Envek committed Dec 4, 2024
1 parent da93ecb commit e404700
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/evil_seed/configuration/root.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def exclude(*association_patterns)
@exclusions << pattern
else
path_prefix = model.constantize.model_name.singular
@inclusions += compile_patterns(pattern, prefix: path_prefix).map { |p| Regexp.new(/\A#{p}\z/) }
@exclusions += compile_patterns(pattern, prefix: path_prefix).map { |p| Regexp.new(/\A#{p}\z/) }
end
end
end
Expand Down

0 comments on commit e404700

Please sign in to comment.