lib/commands/checkup.rb in nutella_framework-0.6.20 vs lib/commands/checkup.rb in nutella_framework-0.6.21

- old
+ new

@@ -59,10 +59,15 @@ end # Git version lambda git_semver = lambda do out = `git --version` out.slice!(0,12) - Semantic::Version.new out[0..4] + begin + semver = Semantic::Version.new(out[0..4]) + rescue + semver = Semantic::Version.new(out[0..5]) + end + semver end # Tmux version lambda tmux_semver = lambda do out = `tmux -V` out.slice!(0,5)