Bug 530165 - Sonar Issues
diff --git a/sonar-project.properties b/sonar-project.properties
index 00988f8..eaa538f 100644
--- a/sonar-project.properties
+++ b/sonar-project.properties
@@ -9,6 +9,7 @@
sonar.exclusions=**/node_modules/**,**/*.spec.ts,**/test-data/*.ts,**/testing/*.ts
sonar.tests=src
sonar.test.inclusions=**/*.spec.ts
+sonar.test.exclusions=**/multiselect-dropdown/*.ts
sonar.ts.tslintconfigpath=tslint.json
sonar.typescript.lcov.reportPaths=coverage/lcov.info
\ No newline at end of file
diff --git a/src/app/pages/overview/overview.component.ts b/src/app/pages/overview/overview.component.ts
index 966f2e4..246b2d3 100644
--- a/src/app/pages/overview/overview.component.ts
+++ b/src/app/pages/overview/overview.component.ts
@@ -74,15 +74,9 @@
this.responsibilityService.getResponsibilities().subscribe(respsCurrent => {
this.responsibilitiesContainer = respsCurrent;
},
- error => {
- this.handleGetRespError(error);
- });
+ error => this.handleGetRespError(error) );
}
- },
- error => {
- this.handleGetRespError(error);
- }
- );
+ }, error => this.handleGetRespError(error) );
}
private handleGetRespError(error: any) {