Skip to content
This repository has been archived by the owner on Dec 28, 2017. It is now read-only.

Commit

Permalink
suppressed EPUB version if no file provided
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Cook committed Feb 27, 2013
1 parent bf587a5 commit 78eb2bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/epub_validator
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ puts "\nChecking...."
validation = EpubValidator.check(command)

puts
puts "Detected as EPUB version #{validation.epub_version}"
puts "Detected as EPUB version #{validation.epub_version}" if validation.epub_version
puts

if validation.valid?
Expand Down
2 changes: 1 addition & 1 deletion lib/epub_validator/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module EpubValidator
VERSION = "1.0.0"
VERSION = "1.0.1"
end

0 comments on commit 78eb2bc

Please sign in to comment.