mirror of
https://github.com/davidkaya/aryx.git
synced 2026-08-04 19:08:40 +02:00
fix: resolve macos bun interop
Use Bun-safe Electron and child_process import patterns for macOS GitHub Actions tests. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -1,11 +1,9 @@
|
||||
import * as childProcess from 'node:child_process';
|
||||
import childProcess, { type ExecFileException } from 'node:child_process';
|
||||
import { promisify } from 'node:util';
|
||||
|
||||
import type { ProjectGitChangeSummary, ProjectGitCommitSummary, ProjectGitContext } from '@shared/domain/project';
|
||||
import { nowIso } from '@shared/utils/ids';
|
||||
|
||||
type ExecFileException = childProcess.ExecFileException;
|
||||
|
||||
const execFileAsync = promisify(childProcess.execFile);
|
||||
const GIT_TIMEOUT_MS = 5_000;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user