fix: last small changes

This commit is contained in:
2026-02-27 10:20:37 +01:00
parent dc62937fdc
commit c6edacba51
2 changed files with 8 additions and 7 deletions

View File

@@ -2,6 +2,7 @@ import { simpleGit } from 'simple-git';
import * as fsPromises from 'fs/promises';
import * as path from 'path';
import { execFile } from 'node:child_process';
import type { GitScriptFileChange, GitScriptFileChangeStatus } from './ScriptEngine';
export interface GitAvailability {
gitFound: boolean;
@@ -140,13 +141,7 @@ export interface GitPostFileChange {
previousPath?: string;
}
export type GitScriptFileChangeStatus = 'added' | 'modified' | 'deleted' | 'renamed';
export interface GitScriptFileChange {
status: GitScriptFileChangeStatus;
path: string;
previousPath?: string;
}
export type { GitScriptFileChange, GitScriptFileChangeStatus };
type GitProvider = 'unknown' | 'github' | 'gitlab' | 'gitea-forgejo';