mirror of
https://github.com/iv-org/invidious.git
synced 2025-05-19 04:51:10 +00:00
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:
parent
adcdb8cb92
commit
dd2e999402
@ -49,7 +49,8 @@ require "./invidious/channels/*"
|
|||||||
require "./invidious/user/*"
|
require "./invidious/user/*"
|
||||||
require "./invidious/search/*"
|
require "./invidious/search/*"
|
||||||
require "./invidious/routes/**"
|
require "./invidious/routes/**"
|
||||||
require "./invidious/jobs/**"
|
require "./invidious/jobs/base_job"
|
||||||
|
require "./invidious/jobs/*"
|
||||||
|
|
||||||
# Declare the base namespace for invidious
|
# Declare the base namespace for invidious
|
||||||
module Invidious
|
module Invidious
|
||||||
|
Loading…
x
Reference in New Issue
Block a user