printError method

void printError(
  1. CommandToRun command,
  2. Logger logger
)

Implementation

void printError(CommandToRun command, Logger logger) {
  if (exitCodeReason == ExitCode.success) return;

  _printError(
    index: null,
    label: command.keys.join(' '),
    logger: logger,
  );
}