diff options
author | Yoshiyuki Hirano <yhirano@me.com> | 2018-04-19 23:45:28 +0900 |
---|---|---|
committer | Yoshiyuki Hirano <yhirano@me.com> | 2018-04-19 23:45:28 +0900 |
commit | 6aaeb8ef10725ae43247ead117ee25c9e250491a (patch) | |
tree | c11896b178fc3cc0180b3c0470a7dda729a02ced /actionpack/Rakefile | |
parent | 92bb3f6aaaa80fa7add94debbda6373a15f55b64 (diff) | |
download | rails-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/Rakefile | 2 |
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 |