mirror of
https://github.com/iv-org/invidious.git
synced 2024-12-27 18:40:21 +05:30
fix linting + use .empty?
This commit is contained in:
parent
9f846127ae
commit
b51770dbdb
@ -257,7 +257,7 @@ class Config
|
||||
puts "Config: You can not run inv_sig_helper and invidious_companion at the same time."
|
||||
exit(1)
|
||||
end
|
||||
if !CONFIG.invidious_companion_key
|
||||
if CONFIG.invidious_companion_key.empty?
|
||||
puts "Config: Please configure a key if you are using invidious companion."
|
||||
exit(1)
|
||||
elsif CONFIG.invidious_companion_key == "CHANGE_ME!!"
|
||||
|
Loading…
Reference in New Issue
Block a user