Skip to content

Commit

Permalink
Fix crash after generating default config
Browse files Browse the repository at this point in the history
  • Loading branch information
hkalexling committed Mar 13, 2020
1 parent 173ff2d commit d1c0e52
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/config.cr
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d1c0e52

Please sign in to comment.