Skip to content

Commit

Permalink
JS-405 Simplify vue parser (#4900)
Browse files Browse the repository at this point in the history
  • Loading branch information
zglicz authored Nov 12, 2024
1 parent 6391608 commit 4b15d8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/jsts/src/builders/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export function buildSourceCode(input: JsTsAnalysisInput, language: JsTsLanguage
// enable logs for @typescript-eslint
// debugLevel: true,
filePath: input.filePath,
parser: vueFile ? parsers.typescript.parser : undefined,
parser: vueFile ? parsers.typescript : undefined,
};
const parser = vueFile ? parsers.vuejs : parsers.typescript;
if (!vueFile) {
Expand Down

0 comments on commit 4b15d8f

Please sign in to comment.