opencode-sonarqube 1.2.25 → 1.2.26

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 +5 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -20089,7 +20089,7 @@ function getSeveritiesFromLevel(level) {
20089
20089
  }
20090
20090
 
20091
20091
  // src/index.ts
20092
- import { readFileSync, writeFileSync } from "node:fs";
20092
+ import { readFileSync, writeFileSync, appendFileSync } from "node:fs";
20093
20093
 
20094
20094
  // src/cli.ts
20095
20095
  var CLI_HELP = `
@@ -20309,7 +20309,10 @@ function shouldIgnoreFile2(filePath) {
20309
20309
  return IGNORED_FILE_PATTERNS2.some((pattern) => pattern.test(filePath));
20310
20310
  }
20311
20311
  var SonarQubePlugin = async ({ client, directory, worktree }) => {
20312
- const safeLog = (_msg) => {};
20312
+ const safeLog = (msg) => {
20313
+ appendFileSync("/tmp/sonarqube-plugin-debug.log", `${new Date().toISOString()} ${msg}
20314
+ `);
20315
+ };
20313
20316
  const pluginImportUrl = import.meta.url;
20314
20317
  const resolveDirectoryFromImportUrl = () => {
20315
20318
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-sonarqube",
3
- "version": "1.2.25",
3
+ "version": "1.2.26",
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",