From 8781a6a01f19168a012efbe1b834a1c46e610a64 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lukas=20Mau=C3=9F?= <lukas.mauss@mni.thm.de>
Date: Tue, 4 Dec 2018 13:21:21 +0100
Subject: [PATCH] Fix lint error

---
 .../shared/list-statistic/list-statistic.component.ts        | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/app/components/shared/list-statistic/list-statistic.component.ts b/src/app/components/shared/list-statistic/list-statistic.component.ts
index c081a373f..5b141aa6a 100644
--- a/src/app/components/shared/list-statistic/list-statistic.component.ts
+++ b/src/app/components/shared/list-statistic/list-statistic.component.ts
@@ -10,6 +10,7 @@ import { Combination } from '../../../models/round-statistics';
 export class ContentPercents {
   content: Content;
   percent: number;
+
   constructor(content: Content, percent: number) {
     this.content = content;
     this.percent = percent;
@@ -77,7 +78,7 @@ export class ListStatisticComponent implements OnInit {
     let correctCounts = 0;
     let totalCounts = 0;
     const length = options.length;
-    let correctIndex = new Array<number>();
+    const correctIndex = new Array<number>();
     let res: number;
       for (let i = 0; i < length; i++) {
         if (options[i].points > 0) {
@@ -109,7 +110,7 @@ export class ListStatisticComponent implements OnInit {
     let correctCounts = 0;
     let totalCounts = 0;
     const optionsLength = options.length;
-    let correctIndexes = new Array<number>();
+    const correctIndexes = new Array<number>();
     let res: number;
     let cic = 0;
     for (let i = 0; i < optionsLength; i++) {
-- 
GitLab