Skip to content

Commit 3ceafab

Browse files
committed
rake file
1 parent 773b7da commit 3ceafab

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
See stuff about a Rails app.
44

55
```bash
6-
$ bundle exec rake:stats[~/path/to/app/]
6+
$ bundle exec rake:stats[/users/me/path/to/app/]
77

88
Directory: /users/me/path/to/app/
99

Rakefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ require "rails_stats"
22

33
desc "Calculates the statistsics for a given Rails project"
44
task :stats, [:path] do |t, args|
5-
root_directory = args[:path]
6-
puts "\nDirectory: #{File.absolute_path(root_directory)}\n\n"
5+
root_directory = File.absolute_path(args[:path])
6+
puts "\nDirectory: #{root_directory}\n\n"
77
RailsStats::CodeStatistics.new(root_directory).to_s
88
end

0 commit comments

Comments
 (0)