]> git.lizzy.rs Git - rust.git/commitdiff
Lint toolchain.ts
authorwxb1ank <wxblank@gmail.com>
Wed, 2 Jun 2021 17:58:14 +0000 (13:58 -0400)
committerwxb1ank <wxblank@gmail.com>
Wed, 2 Jun 2021 17:58:14 +0000 (13:58 -0400)
editors/code/src/toolchain.ts

index ba1b8617ae116ce05722b7bfd776fb8d3810bcad..902d0ddda21231a34e266ad61504ffd6efa6a22b 100644 (file)
@@ -181,5 +181,5 @@ function lookupInPath(exec: string): boolean {
 }
 
 async function isFile(path: string): Promise<boolean> {
-    return ((await vscode.workspace.fs.stat(vscode.Uri.file(path))).type & vscode.FileType.File) != 0;
+    return ((await vscode.workspace.fs.stat(vscode.Uri.file(path))).type & vscode.FileType.File) !== 0;
 }