Update issue template
parent
64e109f82f
commit
7e9a367de6
|
@ -3,3 +3,7 @@
|
|||
# Actual Behavior
|
||||
|
||||
# Steps to Reproduce
|
||||
|
||||
# My FarmBot API Version
|
||||
|
||||
Run `git log -1` and paste the results here
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue