Skip to content

Commit 370e8df

Browse files
committed
Fix crashes
1 parent 7b0641a commit 370e8df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/board-linuxfr/cache.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def from(id, &blk)
1212
found = false
1313
each do |item|
1414
blk.call item if found
15-
found ||= item[:id] == id
15+
found ||= item.first == id
1616
end
1717
end
1818
end

0 commit comments

Comments
 (0)