From d1c0e52f90308a83d75f28c2c1a90836ffb4ab09 Mon Sep 17 00:00:00 2001 From: Alex Ling Date: Fri, 13 Mar 2020 17:46:28 +0000 Subject: [PATCH] Fix crash after generating default config --- src/config.cr | 1 + 1 file changed, 1 insertion(+) diff --git a/src/config.cr b/src/config.cr index b9257d29..18be18be 100644 --- a/src/config.cr +++ b/src/config.cr @@ -38,6 +38,7 @@ class Config abort "Aborting..." end default = self.allocate + default.fill_defaults cfg_dir = File.dirname cfg_path unless Dir.exists? cfg_dir Dir.mkdir_p cfg_dir