Fix typo in bin/quran-json

This commit is contained in:
0x1eef 2023-02-09 01:46:30 -03:00
parent da72fd5c8f
commit 959c7fc57c

View file

@ -20,7 +20,7 @@ def main(argv)
libexec_dir = File.join(root_dir, "libexec", "quran-json") libexec_dir = File.join(root_dir, "libexec", "quran-json")
require File.join(lib_dir, "pull") require File.join(lib_dir, "pull")
case ARGV[0] case argv[0]
when "pull" when "pull"
options = Pull.cli(argv[1..]) options = Pull.cli(argv[1..])
if %w[en pt fa].include?(options.locale) if %w[en pt fa].include?(options.locale)