Skip to content

Commit

Permalink
No need to memoize
Browse files Browse the repository at this point in the history
The env just have precedence of the config if it is `false`.
  • Loading branch information
rafaelfranca committed Sep 20, 2022
1 parent 67492f2 commit 1908710
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/spring/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def project_root_path
end

def quiet
@quiet ||= ENV.key?('SPRING_QUIET')
@quiet || ENV.key?('SPRING_QUIET')
end

private
Expand Down

0 comments on commit 1908710

Please sign in to comment.