From 85df8bbe689e15fea2c753cf49bdef39a44d44c6 Mon Sep 17 00:00:00 2001
From: OZGCloud <ozgcloud@mgm-tp.com>
Date: Thu, 2 Nov 2023 19:24:30 +0100
Subject: [PATCH] Alfa Client: Fix sonar-scanner call

---
 goofy-client/package.json | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/goofy-client/package.json b/goofy-client/package.json
index 0eccd78784..27ef59ae7c 100644
--- a/goofy-client/package.json
+++ b/goofy-client/package.json
@@ -16,7 +16,7 @@
 		"ci-build": "nx build --outputHashing=all",
 		"ci-prodBuild": "nx build --outputHashing=all --configuration production",
 		"ci-test": "node ./node_modules/.bin/nx run-many --target=test --all --parallel --maxParallel 2 --runInBand --ci --testResultsProcessor='jest-sonar-reporter' --coverage",
-		"ci-sonar": "sonar-scanner",
+		"ci-sonar": "npm run sonar-scanner",
 		"lint": "nx workspace-lint && nx lint",
 		"affected:apps": "nx affected:apps",
 		"affected:libs": "nx affected:libs",
@@ -40,7 +40,7 @@
 		"cypress:install": "npx cypress install",
 		"cypress:open": "npx cypress open --project apps/goofy-e2e",
 		"workspace-generator": "nx workspace-generator",
-		"sonar-scanner": "npm test -- --testResultsProcessor='jest-sonar-reporter' && sonar-scanner -Dsonar.host.url=https://sonarqube.ozg-sh.de/ -Dsonar.login=364c6e09430714838730a83f55d3369a7ffda0e9"
+		"sonar-scanner": "npm run ci-test && npx sonar-scanner -Dsonar.host.url=https://sonarqube.ozg-sh.de/ -Dsonar.login=sqp_e7178a88b40b1058facaf080fad6bef746737d5e"
 	},
 	"private": true,
 	"dependencies": {
-- 
GitLab