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] })