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