Skip to content
This repository has been archived by the owner on Apr 12, 2022. It is now read-only.

Commit

Permalink
fix load command output
Browse files Browse the repository at this point in the history
  • Loading branch information
erwaller committed Oct 12, 2011
1 parent a6cccb1 commit 497aff4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/soulmate
Expand Up @@ -36,8 +36,8 @@ end
def load(type)
puts "Loading items of type #{type}..."
items = $stdin.read.split("\n").map { |l| MultiJson.decode(l) }
total = Soulmate::Loader.new(type).load(items)
puts "Loaded a total of #{total} items"
loaded = Soulmate::Loader.new(type).load(items)
puts "Loaded a total of #{loaded.size} items"
end

def add(type)
Expand Down

0 comments on commit 497aff4

Please sign in to comment.