Leave entrypoint uninitialized if not determinable

This commit is contained in:
Manuel Thalmann 2024-03-22 17:55:43 +01:00
parent de8999c361
commit 24febb32f8

View file

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