From eaa39fd9dfa68f439b389df789eddda079d891a0 Mon Sep 17 00:00:00 2001 From: Sergei Zharinov <zharinov@users.noreply.github.com> Date: Wed, 12 Jul 2023 22:57:09 +0300 Subject: [PATCH] fix(editor-config): Remove wrong default for `localDir` (#23321) --- lib/util/json-writer/editor-config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util/json-writer/editor-config.ts b/lib/util/json-writer/editor-config.ts index 27beccd5d1..57aa6aa671 100644 --- a/lib/util/json-writer/editor-config.ts +++ b/lib/util/json-writer/editor-config.ts @@ -7,7 +7,7 @@ import type { IndentationType } from './indentation-type'; export class EditorConfig { public static async getCodeFormat(fileName: string): Promise<CodeFormat> { - const localDir = GlobalConfig.get('localDir', 'asdf'); + const localDir = GlobalConfig.get('localDir', ''); try { const knownProps = await parse(upath.join(localDir, fileName)); return { -- GitLab