fix: delay config loading #21

Merged
glenux merged 1 commit from feature/14-add-support-for-global-config-file into develop 2023-11-18 22:36:20 +00:00
Showing only changes of commit 5e8c46dfcf - Show all commits

View file

@ -88,12 +88,11 @@ module GX
end
def run()
@config.load_from_file
case @config.mode
when Config::Mode::ShowVersion
STDOUT.puts "#{PROGRAM_NAME} #{VERSION}"
when Config::Mode::Mount
@config.load_from_file
mount
end
end