From 6aaeb8ef10725ae43247ead117ee25c9e250491a Mon Sep 17 00:00:00 2001 From: Yoshiyuki Hirano Date: Thu, 19 Apr 2018 23:45:28 +0900 Subject: Improve redundancy in line tasks * Remove needless concat from actionpack/Rakefile * Remove neesless File.join from actionview/Rakefile --- actionpack/Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack') diff --git a/actionpack/Rakefile b/actionpack/Rakefile index 4dd7c59ce8..e99eb1723a 100644 --- a/actionpack/Rakefile +++ b/actionpack/Rakefile @@ -28,7 +28,7 @@ namespace :test do end task :lines do - load File.expand_path("..", __dir__) + "/tools/line_statistics" + load File.expand_path("../tools/line_statistics", __dir__) files = FileList["lib/**/*.rb"] CodeTools::LineStatistics.new(files).print_loc end -- cgit v1.2.3