We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2e9a25b + a54cbe5 commit 5625c0dCopy full SHA for 5625c0d
1 file changed
lib/rake/application.rb
@@ -755,14 +755,7 @@ def glob(path, &block) # :nodoc:
755
756
# The directory path containing the system wide rakefiles.
757
def system_dir # :nodoc:
758
- @system_dir ||=
759
- begin
760
- if ENV["RAKE_SYSTEM"]
761
- ENV["RAKE_SYSTEM"]
762
- else
763
- standard_system_dir
764
- end
765
+ @system_dir ||= ENV["RAKE_SYSTEM"] || standard_system_dir
766
end
767
768
# The standard directory containing system wide rake files.
0 commit comments