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

@ -147,8 +147,9 @@ async function getDebugConfiguration(
debugConfig.name = `run ${path.basename(executable)}`;
}
if (debugConfig.cwd) {
debugConfig.cwd = simplifyPath(debugConfig.cwd);
const cwd = debugConfig["cwd"];
if (cwd) {
debugConfig["cwd"] = simplifyPath(cwd);
}
return debugConfig;