0
0
Fork 0

Match dependency-generator output for require_relative usage (#32800)

This commit is contained in:
Matt Jankowski 2024-11-08 04:55:15 -05:00 committed by GitHub
parent 8df867b20a
commit 4ef3a1a38d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 4 additions and 3 deletions

View file

@ -32,7 +32,7 @@ end
STREAMING_PORT = ENV.fetch('TEST_STREAMING_PORT', '4020')
ENV['STREAMING_API_BASE_URL'] = "http://localhost:#{STREAMING_PORT}"
require File.expand_path('../config/environment', __dir__)
require_relative '../config/environment'
abort('The Rails environment is running in production mode!') if Rails.env.production?