require base_job before the other jobs

The crystal compiler seems to evaluate `require` in an alphabetical way,
so if anyone in the future, wants to add another job and that job is
above `base_job.cr` in alphabetical order, the compiler is going to fail
with `Error: undefined constant: Invidious::Jobs::BaseJob`.

This doesn't fix anything, but it will prevent a future headache.
This commit is contained in:
Fijxu 2025-02-28 19:41:49 -03:00
parent adcdb8cb92
commit dd2e999402
No known key found for this signature in database
GPG Key ID: 32C1DDF333EDA6A4

View File

@ -49,7 +49,8 @@ require "./invidious/channels/*"
require "./invidious/user/*"
require "./invidious/search/*"
require "./invidious/routes/**"
require "./invidious/jobs/**"
require "./invidious/jobs/base_job"
require "./invidious/jobs/*"
# Declare the base namespace for invidious
module Invidious