chore(util/CompatibilityUtil): correct spacing and simplify warning
This commit is contained in:
parent
f3edfd0f0d
commit
c40ebf558a
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue