fix(git): load sandbox db dependency in esm (#1140)

Co-authored-by: Isaac Sanchez <isanchez-hawkins@arize.com>
This commit is contained in:
Isaac Sanchez-Hawkins
2026-05-08 15:09:52 +03:00
committed by GitHub
co-authored by Isaac Sanchez
parent a3a82166f1
commit 4b65a16b12
+2
View File
@@ -4,8 +4,10 @@ import path from 'path';
import os from 'os';
import { execFile } from 'child_process';
import { promisify } from 'util';
import { createRequire } from 'module';
const fsp = fs.promises;
const require = createRequire(import.meta.url);
const execFileAsync = promisify(execFile);
const gpgconfCandidates = ['gpgconf', '/opt/homebrew/bin/gpgconf', '/usr/local/bin/gpgconf'];
let resolvedGitBinary = null;