From 8988e919ef1cd3bc40a18a1eae44d0e044ef8b6a Mon Sep 17 00:00:00 2001 From: 0x1eef <0x1eef@protonmail.com> Date: Thu, 9 Feb 2023 03:40:04 -0300 Subject: [PATCH] Fix typo in searchtruth.com --- libexec/quran-json/searchtruth.com | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libexec/quran-json/searchtruth.com b/libexec/quran-json/searchtruth.com index 2d329f5..7300159 100755 --- a/libexec/quran-json/searchtruth.com +++ b/libexec/quran-json/searchtruth.com @@ -15,7 +15,7 @@ def main(argv) cmd = Pull.new(Pull.cli(argv)) cmd.keepalive do 1.upto(114) do |surah_no| - next is cmd.exist?(surah_no) + next if cmd.exist?(surah_no) rows = [] res = cmd.pull_surah(surah_no) rows.concat(grep(res).map.with_index(1) { [_2, _1] })