We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c506148 commit 1ed5e1cCopy full SHA for 1ed5e1c
src/typingsInstaller/nodeTypingsInstaller.ts
@@ -89,10 +89,6 @@ namespace ts.server.typingsInstaller {
89
log);
90
this.npmPath = npmLocation !== undefined ? npmLocation : getDefaultNPMLocation(process.argv[0]);
91
92
- // If the NPM path contains spaces and isn't wrapped in quotes, do so.
93
- if (stringContains(this.npmPath, " ") && this.npmPath[0] !== `"`) {
94
- this.npmPath = `"${this.npmPath}"`;
95
- }
96
if (this.log.isEnabled()) {
97
this.log.writeLine(`Process id: ${process.pid}`);
98
this.log.writeLine(`NPM location: ${this.npmPath} (explicit '${Arguments.NpmLocation}' ${npmLocation === undefined ? "not " : ""} provided)`);
0 commit comments