diff --git a/lib/util/CompatibilityUtil.js b/lib/util/CompatibilityUtil.js index f407dc43..cee525d5 100644 --- a/lib/util/CompatibilityUtil.js +++ b/lib/util/CompatibilityUtil.js @@ -24,8 +24,8 @@ export function wrapForCompatibility(api) { var callback = arguments[argLen - 1]; console.warn(new Error( - 'Passing callbacks to ' + api.name + ' is deprecated and will be removed in a future major release.' + - 'Please switch to promises, cf. https://bpmn.io/l/moving-to-promises.html' + 'Passing callbacks to ' + api.name + ' is deprecated and will be removed in a future major release. ' + + 'Please switch to promises: https://bpmn.io/l/moving-to-promises.html' )); var argsWithoutCallback = Array.prototype.slice.call(arguments, 0, -1);