protected function makeDir($dirName, LoggerInterface $logger) {
        $dn = explode(getcwd(), $dirName)[1] ?? $dirName;

        if(@mkdir($dirName)) {
            $logger->logText("Created directory <fg=green>%s</>", LoggerInterface::VERBOSITY_NORMAL, NULL, $dn);
        } else {
            $logger->logWarning("Creating directory $dn failed");
        }
    }