fix(types): declare Git utility options

This commit is contained in:
haelyra committed 2026-10-25 19:43:37 -04:00
1 parent e10f72413f
commit b144908df6
1 file changed
+2 -2
+2 -2
View File
@@ -193,10 +193,10 @@ export interface CommandResult {
export function runCommand(cmd: string, options?: ExecSyncOptions): CommandResult;
/** Check if the current directory is inside a git repository */
export function isGitRepo(): boolean;
export function isGitRepo(options?: ExecSyncOptions): boolean;
/**
* Get git modified files (staged + unstaged), optionally filtered by regex patterns.
* Invalid regex patterns are silently skipped.
*/
export function getGitModifiedFiles(patterns?: string[]): string[];
export function getGitModifiedFiles(patterns?: string[], options?: ExecSyncOptions): string[];