tryUninstallCompletionFiles method

  1. @internal
void tryUninstallCompletionFiles(
  1. Level level
)

Tries to uninstall completion files for the current shell.

Implementation

@internal
void tryUninstallCompletionFiles(Level level) {
  try {
    completionInstallationLogger.level = level;
    completionInstallation.uninstall(executableName);
  } on CompletionUninstallationException catch (e) {
    completionInstallationLogger.warn(e.toString());
  } on Exception catch (e) {
    completionInstallationLogger.err(e.toString());
  }
}