lib/rubocop/git/options.rb in rubocop-git-0.0.6 vs lib/rubocop/git/options.rb in rubocop-git-0.1.0

- old
+ new

@@ -58,14 +58,14 @@ RuboCop::ConfigLoader::DEFAULT_FILE end end def commit_first - @commits.length == 1 ? @commits.first + '^' : @commits.first + @commits.first end def commit_last - @commits.last + @commits.length == 1 ? false : @commits.last end private def from_hash(hash_options)