summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamantaz Fox <coding@samantaz.fr>2022-02-08 03:05:49 +0100
committerSamantaz Fox <coding@samantaz.fr>2022-02-08 03:05:49 +0100
commit492d1144e0dff85bc58071037ef0980c4027cc69 (patch)
tree453980da66bc9c60ed1aeac1b104234cf72c197c
parent4f4b19a962999ad191b1312e53aa44c8180d22fa (diff)
downloadinvidious-492d1144e0dff85bc58071037ef0980c4027cc69.tar.gz
invidious-492d1144e0dff85bc58071037ef0980c4027cc69.tar.bz2
invidious-492d1144e0dff85bc58071037ef0980c4027cc69.zip
Apply changes from code review
-rw-r--r--Makefile2
-rw-r--r--src/invidious.cr2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index a82d76b4..7f56d722 100644
--- a/Makefile
+++ b/Makefile
@@ -62,7 +62,7 @@ test:
crystal spec
verify:
- crystal build src/invidious.cr -Ddont_fetch_videojs \
+ crystal build src/invidious.cr -Dskip_videojs_download \
--no-codegen --progress --stats --error-trace
diff --git a/src/invidious.cr b/src/invidious.cr
index 79429404..1ff70905 100644
--- a/src/invidious.cr
+++ b/src/invidious.cr
@@ -114,7 +114,7 @@ LOGGER = Invidious::LogHandler.new(OUTPUT, CONFIG.log_level)
# Check table integrity
Invidious::Database.check_integrity(CONFIG)
-{% unless flag?(:dont_fetch_videojs) %}
+{% if !flag?(:skip_videojs_download) %}
# Resolve player dependencies. This is done at compile time.
#
# Running the script by itself would show some colorful feedback while this doesn't.