deleteConfig static method

void deleteConfig()

Deletes the configuration file.

Implementation

static void deleteConfig() {
  try {
    final configPath = getConfigPath();
    if (PathUtils.isFile(configPath)) {
      File(configPath).deleteSync();
    }
  } catch (e) {
    // Ignore errors
  }
}