mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-15 12:51:30 -05:00
Silence NPM warnings when installing typings (#19749)
This commit is contained in:
@@ -248,7 +248,7 @@ namespace ts.server.typingsInstaller {
|
||||
this.log.writeLine(`Npm config file: '${npmConfigPath}' is missing, creating new one...`);
|
||||
}
|
||||
this.ensureDirectoryExists(directory, this.installTypingHost);
|
||||
this.installTypingHost.writeFile(npmConfigPath, '{ "description": "", "repository": "", "license": "" }');
|
||||
this.installTypingHost.writeFile(npmConfigPath, '{ "private": true }');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user