Skip to content

arrow allignment is not detecting misalignment in selector or hash. #226

@Heidistein

Description

@Heidistein

Describe the Bug

Also noted in rodjek#951
Considering the following hash creation:

  $_value = $value ? {
    Array => $value.flatten().join(','),
    true => 'yes',
    false => 'no',
    default => $value,
  }

there is no raised warning about the obvious alignment failure.

Expected Behavior

A warning or error.

puppet-lint 4.2.1
from
rubygem-puppet-lint-4.2.1-3.fc41.noarch

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions