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