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 47a0a7c commit d7555edCopy full SHA for d7555ed
src/server/typingsInstaller/nodeTypingsInstaller.ts
@@ -87,7 +87,7 @@ namespace ts.server.typingsInstaller {
87
this.npmPath = npmLocation !== undefined ? npmLocation : getDefaultNPMLocation(process.argv[0]);
88
89
// If the NPM path contains spaces and isn't wrapped in quotes, do so.
90
- if (this.npmPath.indexOf(" ") !== -1 && this.npmPath[0] != `"`) {
+ if (this.npmPath.indexOf(" ") !== -1 && this.npmPath[0] !== `"`) {
91
this.npmPath = `"${this.npmPath}"`;
92
}
93
if (this.log.isEnabled()) {
0 commit comments