opencode-sonarqube 1.2.8 → 1.2.9

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 -9
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -20222,16 +20222,8 @@ 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) => {
20226
- try {
20227
- const fs = __require("node:fs");
20228
- fs.appendFileSync("/tmp/sonarqube-plugin-debug.log", `${new Date().toISOString()} ${msg}
20229
- `);
20230
- } catch {}
20231
- };
20232
- safeLog(`=== PLUGIN INIT === directory="${directory}" worktree="${worktree}"`);
20225
+ const safeLog = (_msg) => {};
20233
20226
  const pluginImportUrl = import.meta.url;
20234
- safeLog(`pluginImportUrl="${pluginImportUrl}"`);
20235
20227
  const resolveDirectoryFromImportUrl = () => {
20236
20228
  try {
20237
20229
  const pluginPath = decodeURIComponent(pluginImportUrl.replace("file://", ""));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-sonarqube",
3
- "version": "1.2.8",
3
+ "version": "1.2.9",
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",