win_get_url - fix glob like paths (#54008)

This commit is contained in:
Jordan Borean 2019-03-19 12:01:35 +10:00 committed by GitHub
commit cf24542e9f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 85 additions and 61 deletions

View file

@ -290,7 +290,7 @@ Function Invoke-DownloadFile {
}
if ($download) {
Copy-Item -Path $tmp_dest -Destination $Dest -Force -WhatIf:$Module.CheckMode > $null
Copy-Item -LiteralPath $tmp_dest -Destination $Dest -Force -WhatIf:$Module.CheckMode > $null
$Module.Result.changed = $true
}
}