lib/roda/plugins/autoload_hash_branches.rb in roda-3.85.0 vs lib/roda/plugins/autoload_hash_branches.rb in roda-3.86.0
- old
+ new
@@ -66,10 +66,10 @@
end
end
# Eagerly load all hash branches when freezing the application.
def freeze
- opts.delete(:autoload_hash_branch_files).each{|file| require file}
+ opts.delete(:autoload_hash_branch_files).each{|file| require file} unless opts.frozen?
super
end
end
end