add comments

This commit is contained in:
Felipe Suero
2023-05-02 11:23:48 -04:00
parent 40c20d5504
commit 0bd67083ff
@@ -50,12 +50,15 @@ export async function getSecrets(
if (isString(x.value)) {
environmentName = x.value.value;
} else {
// this means we have a dynamic enviornment, in those situations we
// want to make sure we skip doing secret validation
secretsContext.complete = false;
}
break;
}
}
} else {
// if the expression is something like environment: ${{ ... }} then we want to skip validation
secretsContext.complete = false;
}
}