opencode-sonarqube 1.2.13 → 1.2.14
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 +5 -2
- 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 } from "node:fs";
|
|
20048
|
+
import { readFileSync, writeFileSync, appendFileSync } from "node:fs";
|
|
20049
20049
|
|
|
20050
20050
|
// src/cli.ts
|
|
20051
20051
|
var CLI_HELP = `
|
|
@@ -20265,7 +20265,10 @@ 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 = (
|
|
20268
|
+
const safeLog = (msg) => {
|
|
20269
|
+
appendFileSync("/tmp/sonarqube-plugin-debug.log", `${new Date().toISOString()} ${msg}
|
|
20270
|
+
`);
|
|
20271
|
+
};
|
|
20269
20272
|
const pluginImportUrl = import.meta.url;
|
|
20270
20273
|
const resolveDirectoryFromImportUrl = () => {
|
|
20271
20274
|
try {
|