Skip to content

Formatting: why call parens in breaking conditional? #161

@helixbass

Description

@helixbass

This shouldn't need the call parens for the .filter() calls:

      allowedKeywords =
        if allow?
          allKeywords.filter((keyword) -> keyword in allow)
        else
          allKeywords.filter((keyword) -> keyword not in disallow)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions