fix: Add lib/azure to autoload ignore list (#1368)
This commit is contained in:
@@ -15,6 +15,7 @@ module Chatwoot
|
|||||||
|
|
||||||
config.autoload_paths << Rails.root.join('lib')
|
config.autoload_paths << Rails.root.join('lib')
|
||||||
config.eager_load_paths << Rails.root.join('lib')
|
config.eager_load_paths << Rails.root.join('lib')
|
||||||
|
Rails.autoloaders.main.ignore(Rails.root.join('lib/azure'))
|
||||||
|
|
||||||
# This is required in production for zeitwerk to autoload the file
|
# This is required in production for zeitwerk to autoload the file
|
||||||
config.paths.add File.join('app', 'bot'), glob: File.join('**', '*.rb')
|
config.paths.add File.join('app', 'bot'), glob: File.join('**', '*.rb')
|
||||||
|
|||||||
Reference in New Issue
Block a user