From 240afa7abd42c10710284f8fb6b403f0e608a584 Mon Sep 17 00:00:00 2001 From: Guldoman Date: Sun, 6 Mar 2022 21:03:54 +0100 Subject: [PATCH] Load project module on startup --- data/core/init.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/data/core/init.lua b/data/core/init.lua index 4b2b0ea0..0d8c8e51 100644 --- a/data/core/init.lua +++ b/data/core/init.lua @@ -723,10 +723,11 @@ function core.init() local got_user_error, got_project_error = not core.load_user_directory() local project_dir_abs = system.absolute_path(project_dir) - -- We prevent set_project_dir below to effectively add and scan the directory becaese tha + -- We prevent set_project_dir below to effectively add and scan the directory because the -- project module and its ignore files is not yet loaded. local set_project_ok = project_dir_abs and core.set_project_dir(project_dir_abs) if set_project_ok then + got_project_error = not core.load_project_module() if project_dir_explicit then update_recents_project("add", project_dir_abs) end