deleting a stack shows which folders will be removed, with a choice to keep/delete folders

This commit is contained in:
jarek committed 2026-08-09 10:31:28 +02:00
1 parent 4375f42415
commit 3859888da6
6 files changed
+274 -27

No files matched your search

+1 -1
View File
@@ -838,7 +838,7 @@ export function deleteRepositoryFiles(repoId: number): void {
// === Git Stack Functions ===
async function getStackRepoPath(stackId: number, stackName?: string, environmentId?: number | null): Promise<string> {
export async function getStackRepoPath(stackId: number, stackName?: string, environmentId?: number | null): Promise<string> {
if (stackName && environmentId) {
// Use old path if it already exists (backward compat), otherwise use name-based path
const oldPath = join(GIT_REPOS_DIR, `stack-${stackId}`);