Skip to content

Commit 35007cc

Browse files
committed
update antlr parser
1 parent fff218f commit 35007cc

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/nodes/ImportDirective.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,11 @@ export const ImportDirective = {
3030
let firstSeparator;
3131
let separator;
3232

33-
if (compiler && satisfies(compiler, '>=0.7.4')) {
33+
if (
34+
compiler &&
35+
satisfies(compiler, '>=0.7.4') &&
36+
symbolAliases.length > 1
37+
) {
3438
// if the compiler exists and is greater than or equal to 0.7.4 we will
3539
// split the ImportDirective.
3640
firstSeparator = options.bracketSpacing ? line : softline;

0 commit comments

Comments
 (0)