From 0af47fbe3391bde25f154ba769d7e764ed8621ea Mon Sep 17 00:00:00 2001 From: ndwarshuis Date: Wed, 20 Jul 2022 00:13:25 -0400 Subject: [PATCH] REF clean up code --- src/compile.lua | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/compile.lua b/src/compile.lua index 1b7136b..e727ab8 100644 --- a/src/compile.lua +++ b/src/compile.lua @@ -146,10 +146,7 @@ end return function(update_interval, config_path) local update_freq = 1 / update_interval - local default_config = 'config.yml' - -- local r = i_o.read_file(config_path) or i_o.read_file(default_config) - local r = i_o.read_file(config_path) or i_o.read_file(default_config) - local config = yaml.load(r) + local config = yaml.load(i_o.read_file(config_path)) local cmods = config.modules local main_state = {}