nox-validation 1.7.5 → 1.7.6
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/lib/validate.js +4 -1
- package/package.json +1 -1
package/lib/validate.js
CHANGED
|
@@ -540,7 +540,10 @@ const validateMetaRules = (
|
|
|
540
540
|
if (!currentPath.includes(fPath)) {
|
|
541
541
|
fPath = `${currentPath}.${fPath}`;
|
|
542
542
|
}
|
|
543
|
-
} else if (
|
|
543
|
+
} else if (
|
|
544
|
+
fPath !== currentPath &&
|
|
545
|
+
fPath?.length < currentPath?.length
|
|
546
|
+
) {
|
|
544
547
|
fPath = currentPath;
|
|
545
548
|
}
|
|
546
549
|
|