Skip to content

v3.6.16 function formatter seems not OK #1981

@xiangnanscu

Description

@xiangnanscu

expected:

local context = {
  form_field_token = utils.trunk(form_field_token, 2):map(function(e)
    local form_item_token, widget = e[1], e[2]
    return format(form_item_token, widget)
  end):join('\n'),
}

actually:

local context = {
  form_field_token = utils.trunk(form_field_token, 2):map(function(e)
        local form_item_token, widget = e[1], e[2]
        return format(form_item_token, widget)
      end):join('\n'),
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions