Leave entrypoint uninitialized if not determinable

This commit is contained in:
Manuel Thalmann 2024-03-22 17:55:43 +01:00
parent 2c1496ca86
commit 02324b9861

View file

@ -13,7 +13,10 @@ class Context {
[string]$StagePropertyName = "Stage";
Context() {
$this.EntryPoint = Get-Entrypoint;
try {
$this.EntryPoint = Get-Entrypoint;
}
catch { }
}
[string] ProjectRoot() {