lib/dryrun.rb in dryrun-1.1.4 vs lib/dryrun.rb in dryrun-1.1.5

- old
+ new

@@ -92,10 +92,10 @@ begin input = ask "\n#{'Your Dryrun version is outdated, want to update?'.yellow} #{'[Y/n]:'.white}" end until %w(y n s).include?(input.downcase) - DryrunUtils.execute('gem update dryrun') if input.casecmp 'y' + DryrunUtils.execute('gem update dryrun') if input.casecmp('y') == 0 end def pick_device @device = nil