Prevent restoration context from being overwritten
This commit is contained in:
parent
9f46580fa1
commit
c14d1695c8
1 changed files with 0 additions and 1 deletions
|
@ -30,7 +30,6 @@ function Restore-WindowsInstallation([Context] $context) {
|
||||||
|
|
||||||
Write-Information "Determining Backup Archive Path";
|
Write-Information "Determining Backup Archive Path";
|
||||||
$backupPath = Read-Path;
|
$backupPath = Read-Path;
|
||||||
$context = [Context]::new();
|
|
||||||
$context.BackupName ??= "PortValhalla";
|
$context.BackupName ??= "PortValhalla";
|
||||||
$context.RootDir = $context.GetTempDirectory();
|
$context.RootDir = $context.GetTempDirectory();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue