lib/guard/busted.rb in guard-busted-0.1.1 vs lib/guard/busted.rb in guard-busted-0.1.2
- old
+ new
@@ -37,10 +37,10 @@
end
private
def check_if_busted_exist
- return if which('busted').nil?
+ return unless which('busted').nil?
puts 'Busted not found. Use :cmd option or ' \
'install `busted` via `luarocks install busted --local`'
end
end