lib/guard/depend/runner.rb in guard-depend-0.0.1 vs lib/guard/depend/runner.rb in guard-depend-0.1.0
- old
+ new
@@ -2,9 +2,11 @@
module Guard
class Depend
class Runner
def run(cmd)
+ return unless cmd
+
cmd = [cmd].flatten
command = cmd.join(' ')
begin
UI.info("Running '#{command}'")