Skip to content

Commit

Permalink
fix(editor-config): Remove wrong default for localDir (#23321)
Browse files Browse the repository at this point in the history
  • Loading branch information
zharinov committed Jul 12, 2023
1 parent 4d48de4 commit eaa39fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/util/json-writer/editor-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit eaa39fd

Please sign in to comment.