Skip to content

Commit

Permalink
Fixes #26969 - Use __dir__
Browse files Browse the repository at this point in the history
  • Loading branch information
adamruzicka committed Jun 10, 2019
1 parent bbcfcbb commit 8810ce7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/smart_proxy_dynflow/plugin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

class Proxy::Dynflow
class Plugin < Proxy::Plugin
rackup_path = File.expand_path('http_config.ru', File.expand_path("../", __FILE__))
rackup_path = File.expand_path('http_config.ru', __dir__)
http_rackup_path rackup_path
https_rackup_path rackup_path

Expand Down

0 comments on commit 8810ce7

Please sign in to comment.