Skip to content

Commit 66d7153

Browse files
committed
fail check faster
1 parent eaba865 commit 66d7153

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/slang-nodes/ImportDeconstructionSymbols.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export class ImportDeconstructionSymbols implements SlangNode {
4343
const items = path.map(print, 'items');
4444
return printSeparatedList(
4545
items,
46-
satisfies(compiler, '>=0.7.4') && items.length > 1
46+
items.length > 1 && satisfies(compiler, '>=0.7.4')
4747
? {
4848
// if the compiler exists and is greater than or equal to 0.7.4 we will
4949
// split the ImportDirective.

0 commit comments

Comments
 (0)