mirror of
https://github.com/hkalexling/Mango.git
synced 2025-08-02 10:55:30 -04:00
Fix linter
This commit is contained in:
parent
2fb620211d
commit
df618704ea
@ -5,7 +5,7 @@ private def node_has_key(node : YAML::Nodes::Mapping, key : String)
|
||||
.map_with_index { |n, i| {n, i} }
|
||||
.select(&.[1].even?)
|
||||
.map(&.[0])
|
||||
.select(&.is_a?(YAML::Nodes::Scalar))
|
||||
.select(YAML::Nodes::Scalar)
|
||||
.map(&.as(YAML::Nodes::Scalar).value)
|
||||
.includes? key
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user