diff options
| author | Tetsuharu Ohzeki <tetsuharu.ohzeki@gmail.com> | 2023-06-28 18:15:30 +0900 |
|---|---|---|
| committer | Tetsuharu Ohzeki <tetsuharu.ohzeki@gmail.com> | 2023-07-06 16:17:02 +0900 |
| commit | f70845305f54181e1681828c7935305c66e743bb (patch) | |
| tree | d0ea8aa1241afa77dd6fc46095f0cf9f0e8c70d9 /editors/code/src/debug.ts | |
| parent | 72a3883a7128b4eae6f38d6479f33aaaaae4790b (diff) | |
| download | rust-f70845305f54181e1681828c7935305c66e743bb.tar.gz rust-f70845305f54181e1681828c7935305c66e743bb.zip | |
editor/code: Enable `noPropertyAccessFromIndexSignature` ts option
Diffstat (limited to 'editors/code/src/debug.ts')
| -rw-r--r-- | editors/code/src/debug.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/editors/code/src/debug.ts b/editors/code/src/debug.ts index ede90d707dd..29758feafe4 100644 --- a/editors/code/src/debug.ts +++ b/editors/code/src/debug.ts @@ -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; |
