Skip to content

Commit d7555ed

Browse files
committed
Fix equals
1 parent 47a0a7c commit d7555ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/typingsInstaller/nodeTypingsInstaller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ namespace ts.server.typingsInstaller {
8787
this.npmPath = npmLocation !== undefined ? npmLocation : getDefaultNPMLocation(process.argv[0]);
8888

8989
// If the NPM path contains spaces and isn't wrapped in quotes, do so.
90-
if (this.npmPath.indexOf(" ") !== -1 && this.npmPath[0] != `"`) {
90+
if (this.npmPath.indexOf(" ") !== -1 && this.npmPath[0] !== `"`) {
9191
this.npmPath = `"${this.npmPath}"`;
9292
}
9393
if (this.log.isEnabled()) {

0 commit comments

Comments
 (0)