lib/cc/cli/version.rb in codeclimate-0.9.7 vs lib/cc/cli/version.rb in codeclimate-0.10.0
- old
+ new
@@ -4,9 +4,10 @@
def run
say version
end
private
+
def version
path = File.expand_path("../../../../VERSION", __FILE__)
@version ||= File.read(path)
end
end