Skip to content
Snippets Groups Projects
Commit a64b3512 authored by michael.minelli's avatar michael.minelli
Browse files

ExerciceRun => If error is check size show an alert instead of an error

parent d3ecbe8f
No related branches found
No related tags found
No related merge requests found
Pipeline #25786 passed
...@@ -190,7 +190,11 @@ class ExerciceRunCommand extends CommanderCommand { ...@@ -190,7 +190,11 @@ class ExerciceRunCommand extends CommanderCommand {
exerciceResultsValidation.events.on('endStep', (stepName: string, message: string, error: boolean) => { exerciceResultsValidation.events.on('endStep', (stepName: string, message: string, error: boolean) => {
if ( error ) { if ( error ) {
if ( stepName == 'CHECK_SIZE' ) {
spinner.warn(message);
} else {
spinner.fail(message); spinner.fail(message);
}
} else { } else {
spinner.succeed(message); spinner.succeed(message);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment