mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-26 20:09:19 +00:00
editor/code: Enable noPropertyAccessFromIndexSignature
ts option
This commit is contained in:
parent
72a3883a71
commit
f70845305f
6 changed files with 9 additions and 9 deletions
|
@ -176,7 +176,7 @@ export const getPathForExecutable = memoizeAsync(
|
|||
);
|
||||
|
||||
async function lookupInPath(exec: string): Promise<boolean> {
|
||||
const paths = process.env.PATH ?? "";
|
||||
const paths = process.env["PATH"] ?? "";
|
||||
|
||||
const candidates = paths.split(path.delimiter).flatMap((dirInPath) => {
|
||||
const candidate = path.join(dirInPath, exec);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue