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

Sonar => Remove code smells

parent 8514d5ef
Branches
No related tags found
No related merge requests found
...@@ -288,7 +288,7 @@ class AssignmentValidator { ...@@ -288,7 +288,7 @@ class AssignmentValidator {
} }
run() { run() {
void (async () => { (async () => {
try { try {
await this.checkRequirements(); await this.checkRequirements();
......
...@@ -75,7 +75,7 @@ class ExerciseDockerCompose { ...@@ -75,7 +75,7 @@ class ExerciseDockerCompose {
} }
run(doDown: boolean = false) { run(doDown: boolean = false) {
void (async () => { (async () => {
let containerExitCode: number = -1; let containerExitCode: number = -1;
const filesOverrideArguments = this.composeFileOverride.map(file => `--file "${ file }"`).join(' '); const filesOverrideArguments = this.composeFileOverride.map(file => `--file "${ file }"`).join(' ');
......
...@@ -77,7 +77,7 @@ class ExerciseResultsSanitizerAndValidator { ...@@ -77,7 +77,7 @@ class ExerciseResultsSanitizerAndValidator {
} }
run() { run() {
void (async () => { (async () => {
// Results file existence // Results file existence
this.events.emit('step', 'CHECK_RESULTS_FILE_EXIST', 'Checking if results file exists'); this.events.emit('step', 'CHECK_RESULTS_FILE_EXIST', 'Checking if results file exists');
const resultsFileOriginPath = path.join(this.folderResultsExercise, ClientsSharedConfig.filenames.results); const resultsFileOriginPath = path.join(this.folderResultsExercise, ClientsSharedConfig.filenames.results);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment