bpmnlint-plugin-camunda-compat 2.6.2 → 2.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
@@ -95,9 +95,13 @@ function validateSubscription(node) {
|
|
95
95
|
}
|
96
96
|
|
97
97
|
function getReport(propertyName, node, parentNode) {
|
98
|
+
const path = getPath(node, parentNode);
|
99
|
+
|
98
100
|
return {
|
99
101
|
message: `Property <${ propertyName }> is not a valid secret`,
|
100
|
-
path:
|
102
|
+
path: path
|
103
|
+
? [ ...getPath(node, parentNode), propertyName ]
|
104
|
+
: [ propertyName ],
|
101
105
|
data: {
|
102
106
|
type: ERROR_TYPES.SECRET_EXPRESSION_INVALID,
|
103
107
|
node,
|