mirror of
https://github.com/iv-org/invidious.git
synced 2025-07-13 01:59:22 -04:00
fix linting + use .empty?
This commit is contained in:
parent
02c904cc3e
commit
233f952157
2 changed files with 4 additions and 4 deletions
|
@ -275,7 +275,7 @@ class Config
|
||||||
puts "Config: You can not run inv_sig_helper and invidious_companion at the same time."
|
puts "Config: You can not run inv_sig_helper and invidious_companion at the same time."
|
||||||
exit(1)
|
exit(1)
|
||||||
end
|
end
|
||||||
if !CONFIG.invidious_companion_key
|
if CONFIG.invidious_companion_key.empty?
|
||||||
puts "Config: Please configure a key if you are using invidious companion."
|
puts "Config: Please configure a key if you are using invidious companion."
|
||||||
exit(1)
|
exit(1)
|
||||||
elsif CONFIG.invidious_companion_key == "CHANGE_ME!!"
|
elsif CONFIG.invidious_companion_key == "CHANGE_ME!!"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue