diff options
-rw-r--r-- | actionpack/Rakefile | 2 | ||||
-rw-r--r-- | actionview/Rakefile | 2 |
2 files changed, 2 insertions, 2 deletions
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 diff --git a/actionview/Rakefile b/actionview/Rakefile index 9542b626d1..bdfd96c141 100644 --- a/actionview/Rakefile +++ b/actionview/Rakefile @@ -131,7 +131,7 @@ namespace :assets do end task :lines do - load File.join(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 |