lib/kicker/validate.rb in alloy-kicker-1.9.0 vs lib/kicker/validate.rb in alloy-kicker-1.9.1
- old
+ new
@@ -5,10 +5,10 @@
validate_paths_and_command!
validate_paths_exist!
end
def validate_paths_and_command!
- if callback_chain.length == 1
+ if process_chain.empty?
puts OPTION_PARSER_CALLBACK.call(nil).help
exit
end
end
\ No newline at end of file