opencode-sonarqube 1.2.46 → 1.2.47
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 +2 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -20043,7 +20043,7 @@ function getSeveritiesFromLevel(level) {
|
|
|
20043
20043
|
}
|
|
20044
20044
|
|
|
20045
20045
|
// src/index.ts
|
|
20046
|
-
import { readFileSync, writeFileSync
|
|
20046
|
+
import { readFileSync, writeFileSync } from "node:fs";
|
|
20047
20047
|
|
|
20048
20048
|
// src/cli.ts
|
|
20049
20049
|
var CLI_HELP = `
|
|
@@ -20263,10 +20263,7 @@ function shouldIgnoreFile2(filePath) {
|
|
|
20263
20263
|
return IGNORED_FILE_PATTERNS2.some((pattern) => pattern.test(filePath));
|
|
20264
20264
|
}
|
|
20265
20265
|
var SonarQubePlugin = async ({ client, directory, worktree }) => {
|
|
20266
|
-
const safeLog = (
|
|
20267
|
-
appendFileSync("/tmp/sonarqube-plugin-debug.log", `${new Date().toISOString()} ${msg}
|
|
20268
|
-
`);
|
|
20269
|
-
};
|
|
20266
|
+
const safeLog = (_msg) => {};
|
|
20270
20267
|
const pluginImportUrl = import.meta.url;
|
|
20271
20268
|
const resolveDirectoryFromImportUrl = () => {
|
|
20272
20269
|
try {
|