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

@ -36,7 +36,7 @@ async function getServer(
config: Config,
state: PersistentState
): Promise<string | undefined> {
const explicitPath = process.env.__RA_LSP_SERVER_DEBUG ?? config.serverPath;
const explicitPath = process.env["__RA_LSP_SERVER_DEBUG"] ?? config.serverPath;
if (explicitPath) {
if (explicitPath.startsWith("~/")) {
return os.homedir() + explicitPath.slice("~".length);