GitNexus/gitnexus/test/helpers/ladybug-native.ts
Copilot 7d500390b9
Some checks are pending
CodeQL / Analyze (python) (push) Waiting to run
Gitleaks / gitleaks (push) Waiting to run
Publish / Classify release event (push) Waiting to run
Publish / RC guard (marker + release-PR skip) (push) Blocked by required conditions
Publish / Publish to npm (push) Blocked by required conditions
Trivy Image Scan / Trivy (gitnexus-cli) (push) Waiting to run
Trivy Image Scan / Trivy (gitnexus-web) (push) Waiting to run
CodeQL / Analyze (javascript-typescript) (push) Waiting to run
Publish / ci (push) Blocked by required conditions
Publish / Build & Push RC Docker images (push) Blocked by required conditions
Scorecard / Scorecard analysis (push) Waiting to run
fix: Use Ladybug native read-only enforcement and prepared statement execution for Cypher query paths (#1655)
2026-05-18 06:54:24 +01:00

5 lines
200 B
TypeScript

import fs from 'node:fs';
import path from 'node:path';
export const hasLadybugNative = (): boolean =>
fs.existsSync(path.join(process.cwd(), 'node_modules', '@ladybugdb', 'core', 'lbugjs.node'));