fix(git): forward status mode to runtimes (#1153)

Co-authored-by: Isaac Sanchez <isanchez-hawkins@arize.com>
This commit is contained in:
Isaac Sanchez-Hawkins
2026-05-08 15:57:25 +03:00
committed by GitHub
co-authored by Isaac Sanchez
parent 14c0bfe0bc
commit 28f7a52ec8
5 changed files with 63 additions and 6 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ export async function checkIsGitRepository(directory: string): Promise<boolean>
export async function getGitStatus(directory: string, options?: { mode?: 'light' }): Promise<import('./api/types').GitStatus> {
const runtime = getRuntimeGit();
if (runtime) return runtime.getGitStatus(directory);
if (runtime) return runtime.getGitStatus(directory, options);
return gitHttp.getGitStatus(directory, options);
}