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
The latest version of rubocop as of this commit (v1.28.1) was reporting
these three violations:
```
Rakefile:15:19: C: [Correctable] Style/FetchEnvVar: Use ENV.fetch('EXAMPLE_APP') or ENV.fetch('EXAMPLE_APP', nil) instead of ENV['EXAMPLE_APP'].
example_app = ENV['EXAMPLE_APP'] || 'demo_app'
^^^^^^^^^^^^^^^^^^
Rakefile:58:21: C: [Correctable] Style/FetchEnvVar: Use ENV.fetch('INTEGRATION_BUNDLE_ARGS') or ENV.fetch('INTEGRATION_BUNDLE_ARGS', nil) instead of ENV['INTEGRATION_BUNDLE_ARGS'].
bundle_args = ENV['INTEGRATION_BUNDLE_ARGS']
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
test/external_asset_pipeline/dev_server_test.rb:16:21: C: [Correctable] Style/FetchEnvVar: Use ENV.fetch('DEV_SERVER_HOST') or ENV.fetch('DEV_SERVER_HOST', nil) instead of ENV['DEV_SERVER_HOST'].
config.host = ENV['DEV_SERVER_HOST'] || 'localhost'
^^^^^^^^^^^^^^^^^^^^^^
test/external_asset_pipeline/dev_server_test.rb:32:21: C: [Correctable] Style/FetchEnvVar: Use ENV.fetch('DEV_SERVER_HOST') or ENV.fetch('DEV_SERVER_HOST', nil) instead of ENV['DEV_SERVER_HOST'].
config.host = ENV['DEV_SERVER_HOST'] || 'localhost'
^^^^^^^^^^^^^^^^^^^^^^
test/external_asset_pipeline/dev_server_test.rb:50:21: C: [Correctable] Style/FetchEnvVar: Use ENV.fetch('DEV_SERVER_HOST') or ENV.fetch('DEV_SERVER_HOST', nil) instead of ENV['DEV_SERVER_HOST'].
config.host = ENV['DEV_SERVER_HOST'] || 'localhost'
^^^^^^^^^^^^^^^^^^^^^^
test/integration/external_asset_pipeline_integration_test.rb:29:23: C: [Correctable] Style/FetchEnvVar: Use ENV.fetch('DEV_SERVER_HOST') or ENV.fetch('DEV_SERVER_HOST', nil) instead of ENV['DEV_SERVER_HOST'].
dev_server_host = ENV['DEV_SERVER_HOST'] || 'localhost'
^^^^^^^^^^^^^^^^^^^^^^
```
0 commit comments