mirror of
https://github.com/wavetermdev/chocolatey.git
synced 2026-08-05 13:47:23 -07:00
whatif script fix
This commit is contained in:
@@ -29,6 +29,8 @@ function backup() {
|
||||
}
|
||||
|
||||
function restore() {
|
||||
if (!$WhatIf) { return }
|
||||
|
||||
$packageName = Split-Path -Leaf $MyInvocation.PSScriptRoot
|
||||
$d = "$Env:TEMP\au\$packageName"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user