add comments
This commit is contained in:
@@ -50,12 +50,15 @@ export async function getSecrets(
|
|||||||
if (isString(x.value)) {
|
if (isString(x.value)) {
|
||||||
environmentName = x.value.value;
|
environmentName = x.value.value;
|
||||||
} else {
|
} else {
|
||||||
|
// this means we have a dynamic enviornment, in those situations we
|
||||||
|
// want to make sure we skip doing secret validation
|
||||||
secretsContext.complete = false;
|
secretsContext.complete = false;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
// if the expression is something like environment: ${{ ... }} then we want to skip validation
|
||||||
secretsContext.complete = false;
|
secretsContext.complete = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user