3 ms·
But if you do ENV[xxx] the value is also set to nil. Using .fetch with a default of nil is what's arguably not very useful. IMO it's just a robocop rule to us
by riffraff 1y ago
But if you do ENV[xxx] the value is also set to nil.
Using .fetch with a default of nil is what's arguably not very useful.
IMO it's just a robocop rule to use .fetch, which is useful in general for exploding on missing configuration but not useful if a missing value is handled.