opencode-sonarqube 1.2.5 → 1.2.6

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 +7 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -20222,7 +20222,13 @@ function shouldIgnoreFile2(filePath) {
20222
20222
  return IGNORED_FILE_PATTERNS2.some((pattern) => pattern.test(filePath));
20223
20223
  }
20224
20224
  var SonarQubePlugin = async ({ client, directory, worktree }) => {
20225
- const safeLog = (_msg) => {};
20225
+ const safeLog = (msg) => {
20226
+ try {
20227
+ const fs = __require("node:fs");
20228
+ fs.appendFileSync("/tmp/sonarqube-plugin-debug.log", `${new Date().toISOString()} ${msg}
20229
+ `);
20230
+ } catch {}
20231
+ };
20226
20232
  const pluginImportUrl = import.meta.url;
20227
20233
  const resolveDirectoryFromImportUrl = () => {
20228
20234
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-sonarqube",
3
- "version": "1.2.5",
3
+ "version": "1.2.6",
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",