更新 openhis-ui
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
const {
|
||||
is
|
||||
} = require('bpmnlint-utils');
|
||||
|
||||
|
||||
/**
|
||||
* Rule that reports manual tasks being used.
|
||||
*/
|
||||
module.exports = function() {
|
||||
|
||||
function check(node, reporter) {
|
||||
if (is(node, 'bpmn:ManualTask')) {
|
||||
reporter.report(node.id, 'Element has disallowed type bpmn:ManualTask');
|
||||
}
|
||||
}
|
||||
|
||||
return {
|
||||
check: check
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user