Permalink
Browse files

fix load command output

  • Loading branch information...
1 parent a6cccb1 commit 497aff4f3e6c32567213cae981d950c4e52be304 @erwaller erwaller committed Oct 12, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 bin/soulmate
View
@@ -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)

0 comments on commit 497aff4

Please sign in to comment.