lib/git_presenter/slide.rb in git_presenter-0.2.0 vs lib/git_presenter/slide.rb in git_presenter-0.2.1
- old
+ new
@@ -14,10 +14,11 @@
output << `#{run}` unless @run.nil?
output
end
def to_s
- "#{@commit[0..9]}, #{@message}"
+ return "#{@commit[0..9]}, #{@message}" unless @commit.nil?
+ "run: #{@run}"
end
private
def checkout