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,8 +13,11 @@ class Context {
[string]$StagePropertyName = "Stage";
Context() {
try {
$this.EntryPoint = Get-Entrypoint;
}
catch { }
}
[string] ProjectRoot() {
return Resolve-Path (Join-Path $PSScriptRoot ".." ".." "..");