code: async function mkDirs() {
    config = config || (await getConfig());
  
    try {
      return Promise.all([
        config.wwwDir ? mkdirp(config.wwwDir) : null,
        config.dataDir ? mkdirp(config.dataDir) : null,
        config.buildDir ? mkdirp(config.buildDir) : null,
      ]);
    } catch (error) {
      log.errorAndExit('Could not make all directories necessary.', error);
    }
  }
docs: Makes all directories in config
  @async
  @returns {Promise}