aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/Rakefile
diff options
context:
space:
mode:
authorYoshiyuki Hirano <yhirano@me.com>2018-04-19 23:45:28 +0900
committerYoshiyuki Hirano <yhirano@me.com>2018-04-19 23:45:28 +0900
commit6aaeb8ef10725ae43247ead117ee25c9e250491a (patch)
treec11896b178fc3cc0180b3c0470a7dda729a02ced /actionpack/Rakefile
parent92bb3f6aaaa80fa7add94debbda6373a15f55b64 (diff)
downloadrails-6aaeb8ef10725ae43247ead117ee25c9e250491a.tar.gz
rails-6aaeb8ef10725ae43247ead117ee25c9e250491a.tar.bz2
rails-6aaeb8ef10725ae43247ead117ee25c9e250491a.zip
Improve redundancy in line tasks
* Remove needless concat from actionpack/Rakefile * Remove neesless File.join from actionview/Rakefile
Diffstat (limited to 'actionpack/Rakefile')
-rw-r--r--actionpack/Rakefile2
1 files changed, 1 insertions, 1 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