editor/code: Enable noPropertyAccessFromIndexSignature ts option

This commit is contained in:
Tetsuharu Ohzeki 2023-06-28 18:15:30 +09:00
parent 72a3883a71
commit f70845305f
6 changed files with 9 additions and 9 deletions

View file

@ -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);