Merge pull request #15600 from mjbvz/log-when-types-registry-is-updated
Add Log for When Typings Installer Finishes Updating the Types Registry
This commit is contained in:
commit
d483df94ef
1 changed files with 3 additions and 0 deletions
|
@ -96,6 +96,9 @@ namespace ts.server.typingsInstaller {
|
|||
this.log.writeLine(`Updating ${TypesRegistryPackageName} npm package...`);
|
||||
}
|
||||
this.execSync(`${this.npmPath} install ${TypesRegistryPackageName}`, { cwd: globalTypingsCacheLocation, stdio: "ignore" });
|
||||
if (this.log.isEnabled()) {
|
||||
this.log.writeLine(`Updated ${TypesRegistryPackageName} npm package`);
|
||||
}
|
||||
}
|
||||
catch (e) {
|
||||
if (this.log.isEnabled()) {
|
||||
|
|
Loading…
Reference in a new issue