Leave entrypoint uninitialized if not determinable
This commit is contained in:
parent
de8999c361
commit
24febb32f8
1 changed files with 4 additions and 1 deletions
|
@ -13,7 +13,10 @@ class Context {
|
|||
[string]$StagePropertyName = "Stage";
|
||||
|
||||
Context() {
|
||||
$this.EntryPoint = Get-Entrypoint;
|
||||
try {
|
||||
$this.EntryPoint = Get-Entrypoint;
|
||||
}
|
||||
catch { }
|
||||
}
|
||||
|
||||
[string] ProjectRoot() {
|
||||
|
|
Loading…
Reference in a new issue