Fix typo in searchtruth.com

This commit is contained in:
0x1eef 2023-02-09 03:40:04 -03:00
parent 16854572c3
commit 8988e919ef

View file

@ -15,7 +15,7 @@ def main(argv)
cmd = Pull.new(Pull.cli(argv)) cmd = Pull.new(Pull.cli(argv))
cmd.keepalive do cmd.keepalive do
1.upto(114) do |surah_no| 1.upto(114) do |surah_no|
next is cmd.exist?(surah_no) next if cmd.exist?(surah_no)
rows = [] rows = []
res = cmd.pull_surah(surah_no) res = cmd.pull_surah(surah_no)
rows.concat(grep(res).map.with_index(1) { [_2, _1] }) rows.concat(grep(res).map.with_index(1) { [_2, _1] })