We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 032ebc2 commit ce710efCopy full SHA for ce710ef
1 file changed
src/component/parser/xml/BpmnXmlParser.ts
@@ -77,9 +77,7 @@ export default class BpmnXmlParser {
77
attributeValueProcessor: (attributeName: string, attributeValue: string, nodePathOrMatcher: unknown): unknown => {
78
// nodePathOrMatcher is a Matcher instance (jPath: false) or a string (jPath: true). Get path without namespace prefixes.
79
const nodePath =
80
- typeof nodePathOrMatcher === 'string'
81
- ? nodePathOrMatcher
82
- : (nodePathOrMatcher as { toString(separator?: string, includeNs?: boolean): string }).toString('.', false);
+ typeof nodePathOrMatcher === 'string' ? nodePathOrMatcher : (nodePathOrMatcher as { toString(separator?: string, includeNs?: boolean): string }).toString('.', false);
83
84
if (isNumeric(attributeName, nodePath)) {
85
// The strnum lib used by fast-xml-parser is not able to parse all numbers
0 commit comments