printError method
Implementation
void printError(CommandToRun command, Logger logger) {
if (exitCodeReason == ExitCode.success) return;
_printError(
index: null,
label: command.keys.join(' '),
logger: logger,
);
}
void printError(CommandToRun command, Logger logger) {
if (exitCodeReason == ExitCode.success) return;
_printError(
index: null,
label: command.keys.join(' '),
logger: logger,
);
}