persona-community-5/.pnpm-store/v3/files/bb/69c2014302e064bb758c78d57a1a1ffcbf88f309d223ead3f06c048534561078b74fe6d41482a54132d60e357f5d34487c8224a5c67b0964e5b5b80322f6f4
rdev-worker a1d0d1bf1c
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
build: /implement-feature community-ui --requirements 'Build the React commu...
2026-02-24 08:22:30 +00:00

22 lines
706 B
Plaintext

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.NoCriteriaXpath = void 0;
const NoCriteriaXpath = () => {
return {
CriterionObject: {
enter(criteria, { report, location }) {
if (!criteria.type) {
return;
}
if (criteria?.type?.type === 'xpath' || criteria?.type === 'xpath') {
report({
message: 'The `xpath` type criteria is not supported by Respect.',
location: location.child(['type']),
});
}
},
},
};
};
exports.NoCriteriaXpath = NoCriteriaXpath;