Fixes service loading issue in gen-config.

master
Luka Vandervelden 2019-10-27 22:14:11 +01:00
parent ff4c1cc08d
commit 19f825dba4
1 changed files with 1 additions and 1 deletions

View File

@ -48,9 +48,9 @@ class GenConfig::Context
end
def generate(template, target : String, options : Hash(String, Variables))
Environment.load ENVIRONMENTS_DIRECTORY
ServiceDefinition.load SERVICES_DIRECTORY
Service.load RC_DIRECTORY
Environment.load ENVIRONMENTS_DIRECTORY
target_file = File.open target, "w"