Skip to content
This repository was archived by the owner on Mar 23, 2025. It is now read-only.

Commit df61870

Browse files
committed
Fix linter
1 parent 2fb6202 commit df61870

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/library/entry.cr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ private def node_has_key(node : YAML::Nodes::Mapping, key : String)
55
.map_with_index { |n, i| {n, i} }
66
.select(&.[1].even?)
77
.map(&.[0])
8-
.select(&.is_a?(YAML::Nodes::Scalar))
8+
.select(YAML::Nodes::Scalar)
99
.map(&.as(YAML::Nodes::Scalar).value)
1010
.includes? key
1111
end

0 commit comments

Comments
 (0)