diff --git a/InstallWSL.psm1 b/InstallWSL.psm1 index 04e033a..83afd48 100644 --- a/InstallWSL.psm1 +++ b/InstallWSL.psm1 @@ -1,8 +1,8 @@ # https://stackoverflow.com/a/34559554/ function New-TemporaryDirectory { - $parent = [System.IO.Path]::GetTempPath() - $name = [System.IO.Path]::GetRandomFileName() - New-Item -ItemType Directory -Path (Join-Path $parent $name) + $parent = [System.IO.Path]::GetTempPath() + $name = [System.IO.Path]::GetRandomFileName() + New-Item -ItemType Directory -Path (Join-Path $parent $name) } Workflow Install-WSL {