Skip to content

Commit 525560b

Browse files
committed
fix: bad syntax
1 parent 5bf4e84 commit 525560b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/compiler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ export default class Compiler {
172172
break;
173173

174174
case 'function': {
175-
const formatter = this.options.customFormatters.[token.key];
175+
const formatter = this.options.customFormatters[token.key];
176176
const formattingModuleRequest =
177177
formatter && 'module' in formatter ? formatter.module : null;
178178
const isModuleFn = typeof formattingModuleRequest === 'function';

0 commit comments

Comments
 (0)