Silence unhelpful Kysely log

This commit is contained in:
Kalle
2026-05-23 07:20:41 +03:00
parent 432e7d7162
commit 01412aafc1
3 changed files with 19 additions and 2 deletions

View File

@@ -0,0 +1,12 @@
diff --git a/dist/plugin/parse-json-results/parse-json-results-plugin.js b/dist/plugin/parse-json-results/parse-json-results-plugin.js
index f5d150373a5e36034044b6ba4e5840a7f7a3e725..7700d5ca3888c6ab8c8fad8494ba9dced24e258a 100644
--- a/dist/plugin/parse-json-results/parse-json-results-plugin.js
+++ b/dist/plugin/parse-json-results/parse-json-results-plugin.js
@@ -114,7 +114,6 @@ function parseString(str, jsonPath, options) {
throw error;
}
// built-in naive heuristic should keep going despite errors given there might be false positives in detection.
- console.error(error);
return str;
}
}

7
pnpm-lock.yaml generated
View File

@@ -4,6 +4,9 @@ settings:
autoInstallPeers: true
excludeLinksFromLockfile: false
patchedDependencies:
kysely@0.29.0: 6f395b25414c1ef852485fa3a03d2d521816064697d8c4bff337e2b24d19daa6
importers:
.:
@@ -100,7 +103,7 @@ importers:
version: 1.1.8
kysely:
specifier: 0.29.0
version: 0.29.0
version: 0.29.0(patch_hash=6f395b25414c1ef852485fa3a03d2d521816064697d8c4bff337e2b24d19daa6)
lru-cache:
specifier: 11.3.6
version: 11.3.6
@@ -8476,7 +8479,7 @@ snapshots:
- '@emnapi/core'
- '@emnapi/runtime'
kysely@0.29.0: {}
kysely@0.29.0(patch_hash=6f395b25414c1ef852485fa3a03d2d521816064697d8c4bff337e2b24d19daa6): {}
ley@0.8.1:
dependencies:

View File

@@ -4,3 +4,5 @@ allowBuilds:
better-sqlite3: true
core-js: false
esbuild: true
patchedDependencies:
kysely@0.29.0: patches/kysely@0.29.0.patch