Skip to content

Commit

Permalink
chore: run in strict mode
Browse files Browse the repository at this point in the history
  • Loading branch information
nikku committed Mar 11, 2024
1 parent 4fdc152 commit 64f673a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/bpmn-moddle.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import {
* @param {Object} [options] additional options to pass over
*/
export default function BpmnModdle(packages, options) {
Moddle.call(this, packages, options);
Moddle.call(this, packages, options || { strict: true });
}

BpmnModdle.prototype = Object.create(Moddle.prototype);
Expand Down
2 changes: 1 addition & 1 deletion test/helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ export function readFile(filename) {
}

export function createModdle(additionalPackages, options) {
return new BpmnModdle(additionalPackages, options);
return new BpmnModdle(additionalPackages, options || { strict: true });
}

0 comments on commit 64f673a

Please sign in to comment.