opencode-sonarqube 1.2.29 → 1.2.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -20666,7 +20666,7 @@ Fix these issues before ${operationType === "commit" ? "committing" : "pushing"}
|
|
|
20666
20666
|
safeLog(`[processAnalysisResult] issues=${JSON.stringify(issues)}, blockingSeverity=${blockingSeverity}`);
|
|
20667
20667
|
const hasBlockingIssues = checkBlockingIssues(issues, blockingSeverity);
|
|
20668
20668
|
safeLog(`[processAnalysisResult] hasBlockingIssues=${hasBlockingIssues}, qualityGate=${analysisResult.qualityGateStatus}`);
|
|
20669
|
-
const passedCheck = analysisResult.qualityGateStatus === "OK"
|
|
20669
|
+
const passedCheck = analysisResult.qualityGateStatus === "OK" && !hasBlockingIssues;
|
|
20670
20670
|
safeLog(`[processAnalysisResult] passedCheck=${passedCheck}, shouldBlock=${shouldBlock}`);
|
|
20671
20671
|
if (passedCheck) {
|
|
20672
20672
|
await showToast("SonarQube: Quality check passed!", "success");
|