1.0.15
This commit is contained in:
1 parent
9d2266dffe
commit
188ba1967d
87 files changed
+2103
-1774
No files matched your search
@@ -213,9 +213,9 @@ export async function adoptStack(
|
||||
// Get all existing stack sources to check for duplicates
|
||||
const existingSources = await getStackSources();
|
||||
|
||||
// Check if already adopted (by composePath)
|
||||
// Check if already adopted (by composePath within the same environment)
|
||||
const alreadyAdopted = existingSources.some(
|
||||
(s) => s.composePath === stack.composePath
|
||||
(s) => s.composePath === stack.composePath && s.environmentId === environmentId
|
||||
);
|
||||
|
||||
if (alreadyAdopted) {
|
||||
|
||||
Reference in new issue
Block a user