We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9404b5 commit 13a4221Copy full SHA for 13a4221
src/amqproxy/cli.cr
@@ -67,7 +67,7 @@ class AMQProxy::CLI
67
abort ex.message
68
end
69
70
- def apply_env_variables
+ def apply_env_variables # ameba:disable Metrics/CyclomaticComplexity
71
@listen_address = ENV["LISTEN_ADDRESS"]? || @listen_address
72
@listen_port = ENV["LISTEN_PORT"]?.try &.to_i || @listen_port
73
@http_port = ENV["HTTP_PORT"]?.try &.to_i || @http_port
0 commit comments