Skip to content

Commit 871f7bb

Browse files
committed
Lint
1 parent e95d8a0 commit 871f7bb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/octostat/command.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def call
1414
@git = Git.new(path)
1515
git.each_slice(batch_size).with_index do |commits, batch|
1616
puts_progress batch * batch_size
17-
commits.each {|commit| db.insert_commit(**commit) }
17+
commits.each { |commit| db.insert_commit(**commit) }
1818
end
1919
puts_progress git.count
2020
puts "\nDone!"
@@ -24,7 +24,6 @@ def call
2424

2525
attr_reader :db_path, :path, :batch_size, :git
2626

27-
2827
def puts_progress processed
2928
print "\r#{(processed.to_f / git.count.to_f * 100).ceil}%"
3029
$stdout.flush

0 commit comments

Comments
 (0)