mirror of
https://github.com/davidkaya/aryx.git
synced 2026-08-27 21:33:58 +02:00
fix: failing macos test
This commit is contained in:
@@ -1,10 +1,12 @@
|
|||||||
import { execFile, type ExecFileException } from 'node:child_process';
|
import * as childProcess from 'node:child_process';
|
||||||
import { promisify } from 'node:util';
|
import { promisify } from 'node:util';
|
||||||
|
|
||||||
import type { ProjectGitChangeSummary, ProjectGitCommitSummary, ProjectGitContext } from '@shared/domain/project';
|
import type { ProjectGitChangeSummary, ProjectGitCommitSummary, ProjectGitContext } from '@shared/domain/project';
|
||||||
import { nowIso } from '@shared/utils/ids';
|
import { nowIso } from '@shared/utils/ids';
|
||||||
|
|
||||||
const execFileAsync = promisify(execFile);
|
type ExecFileException = childProcess.ExecFileException;
|
||||||
|
|
||||||
|
const execFileAsync = promisify(childProcess.execFile);
|
||||||
const GIT_TIMEOUT_MS = 5_000;
|
const GIT_TIMEOUT_MS = 5_000;
|
||||||
|
|
||||||
type GitCommandRunner = (projectPath: string, args: string[]) => Promise<string>;
|
type GitCommandRunner = (projectPath: string, args: string[]) => Promise<string>;
|
||||||
|
|||||||
Reference in New Issue
Block a user