Check to see if config.json exists in the current working directory before creating a new configuration directory in the home folder. If config.json exists, then defaultConfigDirectory would be empty and unused - so there's no reason to create that directory if it's not going to be used.
11 KiB
11 KiB