diff options
| author | Zack Hobson | 2013-12-04 10:34:17 -0800 |
|---|---|---|
| committer | Zack Hobson | 2013-12-04 10:34:17 -0800 |
| commit | 3036243f66f7e0e1f83b1c01129118cb253ede65 (patch) | |
| tree | 528f715bf847dfc5e12cf2b77c063a929b226865 /lib | |
| parent | b419e289994e01bb2b02e68ebe4a61eec569e8a8 (diff) | |
| download | hcl-3036243f66f7e0e1f83b1c01129118cb253ede65.tar.bz2 | |
fix jruby tests
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/hcl/commands.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hcl/commands.rb b/lib/hcl/commands.rb index fb5a04a..9bd5271 100644 --- a/lib/hcl/commands.rb +++ b/lib/hcl/commands.rb @@ -128,7 +128,7 @@ module HCl result = '' DayEntry.all(date).each do |day| running = day.running? ? '(running) ' : '' - columns = HighLine::SystemExtensions.terminal_size[0] + columns = HighLine::SystemExtensions.terminal_size[0] rescue 80 result << "\t#{day.formatted_hours}\t#{running}#{day.project}: #{day.notes.lines.to_a.last}\n"[0..columns-1] total_hours = total_hours + day.hours.to_f end |
