checkConfigurationFile function

Future<void> checkConfigurationFile()

Implementation

Future<void> checkConfigurationFile() async {
  if (!await File(configFile).exists()) {
    logger.error("No configuration file found");
    exit(1);
  }
}