dev-cmd/create: fix Rubocop warnings.

This commit is contained in:
Mike McQuaid 2016-09-11 17:41:51 +01:00
parent bba6a59c0c
commit d01993da82

View File

@ -91,7 +91,7 @@ module Homebrew
def __gets
gots = $stdin.gets.chomp
if gots.empty? then nil else gots end
gots.empty? ? nil : gots
end
end