Skip to content

Commit 73a360a

Browse files
committed
Shut up rubocop
1 parent ad05497 commit 73a360a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/ferrum/browser/binary.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ def prepare_paths
2727
[paths, exts]
2828
end
2929

30+
# rubocop:disable Style/CollectionCompact
3031
def lazy_find(cmds)
3132
cmds.lazy.map do |cmd, path, ext|
3233
absolute_path = File.absolute_path(cmd)
@@ -37,8 +38,9 @@ def lazy_find(cmds)
3738
next if File.directory?(cmd)
3839

3940
cmd
40-
end.reject(&:nil?)
41+
end.reject(&:nil?) # .compact isn't defined on Enumerator::Lazy
4142
end
43+
# rubocop:enable Style/CollectionCompact
4244
end
4345
end
4446
end

0 commit comments

Comments
 (0)