Skip to content

Commit d483df9

Browse files
authored
Merge pull request #15600 from mjbvz/log-when-types-registry-is-updated
Add Log for When Typings Installer Finishes Updating the Types Registry
2 parents 4303a29 + e44d419 commit d483df9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: src/server/typingsInstaller/nodeTypingsInstaller.ts

+3
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,9 @@ namespace ts.server.typingsInstaller {
9696
this.log.writeLine(`Updating ${TypesRegistryPackageName} npm package...`);
9797
}
9898
this.execSync(`${this.npmPath} install ${TypesRegistryPackageName}`, { cwd: globalTypingsCacheLocation, stdio: "ignore" });
99+
if (this.log.isEnabled()) {
100+
this.log.writeLine(`Updated ${TypesRegistryPackageName} npm package`);
101+
}
99102
}
100103
catch (e) {
101104
if (this.log.isEnabled()) {

0 commit comments

Comments
 (0)