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
parent eb18df1a0f
commit cf24542e9f
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
}
}