You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My console is filling up with a new warning when I run tests:
faraday-1.4.2/lib/faraday/connection.rb:423: warning: instance variable @manual_proxy not initialized
faraday-1.4.2/lib/faraday/connection.rb:423: warning: instance variable @manual_proxy not initialized
faraday-1.4.2/lib/faraday/connection.rb:423: warning: instance variable @manual_proxy not initialized
...
This warning will be shown to anyone running with Ruby warnings enabled, which is the default for Rake::TestTask.
It's caused by @manual_proxy being accessed in url_prefix= before calling initialize_proxy in the constructor. A simple fix would be to set @manual_proxy = nil up top in the constructor.
Basic Info
Issue description
My console is filling up with a new warning when I run tests:
This warning will be shown to anyone running with Ruby warnings enabled, which is the default for
Rake::TestTask
.It's caused by
@manual_proxy
being accessed inurl_prefix=
before callinginitialize_proxy
in the constructor. A simple fix would be to set@manual_proxy = nil
up top in the constructor.Steps to reproduce
The text was updated successfully, but these errors were encountered: