Skip to content

Commit

Permalink
Use require_relative to load sub-apps.
Browse files Browse the repository at this point in the history
  • Loading branch information
postmodern committed Feb 16, 2025
1 parent 2ec9884 commit de17c90
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app.rb
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ def pagy_get_vars(collection, vars)
end
end

require './app/db'
require './app/scanning'
require './app/payloads'
require './app/repos'
require_relative 'app/db'
require_relative 'app/scanning'
require_relative 'app/payloads'
require_relative 'app/repos'

0 comments on commit de17c90

Please sign in to comment.