From b4e5b4a698cab8d02697baf461299a6c90254857 Mon Sep 17 00:00:00 2001 From: Sebastian Celis Date: Thu, 1 Mar 2012 09:45:20 -0600 Subject: [PATCH] Update generate-report to explicity state if no strings have tags. --- lib/twine/runner.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/twine/runner.rb b/lib/twine/runner.rb index 3fb19b7..15c32dd 100644 --- a/lib/twine/runner.rb +++ b/lib/twine/runner.rb @@ -216,7 +216,9 @@ module Twine end end - if keys_without_tags.length > 0 + if keys_without_tags.length == total_strings + puts "\nNone of your strings have tags." + elsif keys_without_tags.length > 0 puts "\nStrings without tags:" keys_without_tags.each do |key| puts key