Skip to content

Commit 9fdc1ac

Browse files
style: apply automated linter fixes
1 parent e4c3842 commit 9fdc1ac

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

src/language/validation/other/expressions/references.ts

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
import {
22
isSdsAnnotation,
33
isSdsCall,
4-
isSdsFunction, isSdsMemberAccess,
4+
isSdsFunction,
5+
isSdsMemberAccess,
56
isSdsPipeline,
6-
isSdsSchema, isSdsSegment,
7+
isSdsSchema,
8+
isSdsSegment,
79
SdsReference,
810
} from '../../../generated/ast.js';
911
import { AstNode, ValidationAcceptor } from 'langium';
@@ -24,10 +26,14 @@ export const referenceMustNotBeFunctionPointer = (node: SdsReference, accept: Va
2426
}
2527

2628
if (!isSdsCall(container)) {
27-
accept('error', 'Function pointers are not allowed to provide a cleaner graphical view. Use a lambda instead.', {
28-
node,
29-
code: CODE_REFERENCE_FUNCTION_POINTER,
30-
});
29+
accept(
30+
'error',
31+
'Function pointers are not allowed to provide a cleaner graphical view. Use a lambda instead.',
32+
{
33+
node,
34+
code: CODE_REFERENCE_FUNCTION_POINTER,
35+
},
36+
);
3137
}
3238
};
3339

0 commit comments

Comments
 (0)