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.
- package/dist/index.js +1 -9
- 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 = (
|
|
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://", ""));
|