fix web build (#20718)

* add logging

* new version with more logging

* fix downloader

* update more extensions

Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>
This commit is contained in:
Alan Ren
2022-10-03 19:34:04 -07:00
committed by GitHub
parent 66bb40c627
commit 16721cac00
11 changed files with 26 additions and 25 deletions

View File

@@ -24,6 +24,7 @@
readline.clearLine(process.stdout, 0);
process.stdout.write(`${event}${values && values.length > 0 ? ` - ${values.join(' ')}` : ''}`);
});
console.log(`Installing SQL tools service, target runtime: ${runtime}.`);
let serviceInstallFolder = installer.getInstallDirectory(runtime);
await new Promise((rs, rj) => rimraf(serviceInstallFolder, (e) => e ? rj(e) : rs()));
await installer.installService(runtime);