lib/doggy/cli/version.rb in doggy-0.1.3 vs lib/doggy/cli/version.rb in doggy-0.2.0
- old
+ new
@@ -1,12 +1,7 @@
module Doggy
class CLI::Version
def run
- begin
- print Doggy.current_version
- rescue DoggyError
- puts "Could not fetch latest SHA from DataDog."
- exit 1
- end
+ print Doggy::VERSION
end
end
end