Skip to content

Commit 51c4758

Browse files
committed
refactor: improve formatting of dynamic import statements in SOQLParser
1 parent b843b6b commit 51c4758

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

log-viewer/src/features/soql/services/SOQLParser.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,8 @@ export class SOQLParser {
7373
async parse(query: string): Promise<SOQLTree> {
7474
// Dynamic import for code splitting. Improves performance by reducing the amount of JS that is loaded and parsed at the start.
7575
// eslint-disable-next-line @typescript-eslint/naming-convention
76-
const { ApexLexer, ApexParser, CaseInsensitiveInputStream } = await import(
77-
'@apexdevtools/apex-parser'
78-
);
76+
const { ApexLexer, ApexParser, CaseInsensitiveInputStream } =
77+
await import('@apexdevtools/apex-parser');
7978
// Dynamic import for code splitting. Improves performance by reducing the amount of JS that is loaded and parsed at the start.
8079
// eslint-disable-next-line @typescript-eslint/naming-convention
8180
const { CharStreams, CommonTokenStream } = await import('antlr4ts');

0 commit comments

Comments
 (0)