Update issue template

pull/675/head
Rick Carlino 2018-02-21 08:59:34 -06:00
parent 64e109f82f
commit 7e9a367de6
2 changed files with 6 additions and 3 deletions

View File

@ -3,3 +3,7 @@
# Actual Behavior
# Steps to Reproduce
# My FarmBot API Version
Run `git log -1` and paste the results here

View File

@ -68,8 +68,7 @@ module CeleryScript
out = { kind: node.kind, args: recurse_into_args(node) }
body = get_body_elements(node)
if body.empty?
# Legacy sequences *must* have body on sequence.
# Others are fine.
# Legacy sequences *must* have body on sequence. Others are fine.
out[:body] = [] if node.kind == "sequence"
else
out[:body] = body.map { |x| recurse_into_node(x) }
@ -114,4 +113,4 @@ module CeleryScript
return HashWithIndifferentAccess.new(canonical_form)
end
end
end
end