fix: remove giteaPathNamespace

This commit is contained in:
Jason Parks
2025-03-24 01:53:00 -06:00
parent 5d5913f39d
commit 39f4a35cc8
7 changed files with 1 additions and 24 deletions

View File

@@ -17,16 +17,14 @@ export const getErrorCloneRequirements = (entity: {
giteaRepository?: string | null;
giteaOwner?: string | null;
giteaBranch?: string | null;
giteaPathNamespace?: string | null;
}) => {
const reasons: string[] = [];
const { giteaBranch, giteaOwner, giteaRepository, giteaPathNamespace } =
const { giteaBranch, giteaOwner, giteaRepository } =
entity;
if (!giteaRepository) reasons.push("1. Repository not assigned.");
if (!giteaOwner) reasons.push("2. Owner not specified.");
if (!giteaBranch) reasons.push("3. Branch not defined.");
if (!giteaPathNamespace) reasons.push("4. Path namespace not defined.");
return reasons;
};