persona-community-5/.pnpm-store/v3/files/af/74003329ba1bc1545c1c5bcb17154b781fac3454bbcf46291088273e26f26e62f8c1b75bd37b595b7c3a6a2d1098de2ce9318b762b446ba66e69c5e56df399
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

23 lines
761 B
Plaintext

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.WorkflowIdUnique = void 0;
const WorkflowIdUnique = () => {
const seenWorkflow = new Set();
return {
Workflow: {
enter(workflow, { report, location }) {
if (!workflow.workflowId)
return;
if (seenWorkflow.has(workflow.workflowId)) {
report({
message: 'Every workflow must have a unique `workflowId`.',
location: location.child([workflow.workflowId]),
});
}
seenWorkflow.add(workflow.workflowId);
},
},
};
};
exports.WorkflowIdUnique = WorkflowIdUnique;