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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. 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" || !hasBlockingIssues;
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");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-sonarqube",
3
- "version": "1.2.29",
3
+ "version": "1.2.30",
4
4
  "description": "OpenCode Plugin for SonarQube integration - Enterprise-level code quality from the start",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",