Fix windows azdata install (#12542)

* Fix windows azdata install

* skip failing tests
This commit is contained in:
Charles Gagnon
2020-09-21 18:14:49 -07:00
committed by GitHub
parent fe3d1ff48e
commit 5f4546488c
4 changed files with 16 additions and 7 deletions

View File

@@ -61,7 +61,7 @@ export namespace HttpClient {
if (targetFolder !== undefined) {
const filename = path.basename(response.request.path);
const targetPath = path.join(targetFolder, filename);
Logger.log(loc.downloadingTo(filename, targetPath));
Logger.log(loc.downloadingTo(filename, downloadUrl, targetPath));
// Wait to create the WriteStream until here so we can use the actual
// filename based off of the URI.
downloadRequest.pipe(fs.createWriteStream(targetPath))