Skip to content

Commit ce710ef

Browse files
committed
lint
1 parent 032ebc2 commit ce710ef

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/component/parser/xml/BpmnXmlParser.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,7 @@ export default class BpmnXmlParser {
7777
attributeValueProcessor: (attributeName: string, attributeValue: string, nodePathOrMatcher: unknown): unknown => {
7878
// nodePathOrMatcher is a Matcher instance (jPath: false) or a string (jPath: true). Get path without namespace prefixes.
7979
const nodePath =
80-
typeof nodePathOrMatcher === 'string'
81-
? nodePathOrMatcher
82-
: (nodePathOrMatcher as { toString(separator?: string, includeNs?: boolean): string }).toString('.', false);
80+
typeof nodePathOrMatcher === 'string' ? nodePathOrMatcher : (nodePathOrMatcher as { toString(separator?: string, includeNs?: boolean): string }).toString('.', false);
8381

8482
if (isNumeric(attributeName, nodePath)) {
8583
// The strnum lib used by fast-xml-parser is not able to parse all numbers

0 commit comments

Comments
 (0)