Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
gschlager committed Aug 26, 2024
1 parent 65cb861 commit 5975c44
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion config/initializers/000-zeitwerk.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,13 @@ def self.inflect(overrides)
"gc_stat_instrumenter" => "GCStatInstrumenter",
"chat_sdk" => "ChatSDK",
)

autoloader.log!
end
Rails.autoloaders.main.ignore(
"lib/tasks",
"lib/generators",
"lib/freedom_patches",
"lib/i18n/backend",
"lib/unicorn_logstash_patch.rb",
"migrations",
)
2 changes: 1 addition & 1 deletion migrations/lib/migrations.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def self.load_rails_environment(quiet: false)

def self.configure_zeitwerk
loader = Zeitwerk::Loader.new
loader.log! #if ENV["DEBUG"]
loader.log! if ENV["DEBUG"]

loader.inflector.inflect(
{ "cli" => "CLI", "intermediate_db" => "IntermediateDB", "uploads_db" => "UploadsDB" },
Expand Down

0 comments on commit 5975c44

Please sign in to comment.