mirror of
https://github.com/rust-lang/rust.git
synced 2026-03-19 11:19:28 +00:00
Lint toolchain.ts
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user